Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX fix missing #69

Open
Bob-The-Marauder opened this issue Oct 5, 2021 · 3 comments
Open

OSX fix missing #69

Bob-The-Marauder opened this issue Oct 5, 2021 · 3 comments
Labels
incorrect information Pages contain incorrect/missing information

Comments

@Bob-The-Marauder
Copy link

This might have been a lost WIP fix for https://www.tiot.jp/riak-docs/riak/kv/2.9.0/setup/installing/mac-osx/ as I remember writing it but can't find it. OSX has additional files libcrypto-1.0.0.dylib and libssl-1.0.0.dylib I included in https://files.tiot.jp/riak/kv/2.9/2.9.0/osx/10.11/ that need to be copied to /usr/local/opt/openssl/lib/ or Riak will fail to start with the following error in the logs:

2021-10-05 17:13:49.385 [error] <0.192.0> Unable to load crypto library. Failed with error:
"load_failed, Failed to load NIF library: 'dlopen(/Users/myuser/path/to/riak/bin/../lib/crypto-3.1/priv/lib/crypto.so, 2): Library not loaded: /u$
  Referenced from: /Users/myuser/path/to/riak/lib/crypto-3.1/priv/lib/crypto.so
  Reason: image not found'"
OpenSSL might not be installed on this system.

I re-discovered this when I tried to start Riak on my Mac and realised that when I updated Homebrew two weeks ago, it must have updated openssl and, in doing so, removed the files. As such, we'll also need a note saying that updating openssl on Homebrew may need you to re-download these files to /usr/local/opt/openssl/lib/ again. We should probably have an additional note for clarity saying that the contents of /usr/local/opt/[email protected]/ and any subsequent versions featuring openssl@<version> can be safely ignored - the files only need to be added to the openssl folder without a version.

@JMercerGit JMercerGit added the incorrect information Pages contain incorrect/missing information label Jan 13, 2022
@pjaclark
Copy link

pjaclark commented Feb 4, 2022

  • Files (*.dylib and related SHA) should be moved to https://files.tiot.jp/riak/useful-libararies/osx as used by multiple versions.
  • Note and script to be added to install pages for all versions of docs for OSX for Riak KV 2.x
  • Script to add to docs:
cd /usr/local/opt/openssl/lib/
wget  https://files.tiot.jp/riak/useful-libararies/osx/libcrypto.1.0.0.dylib
wget  https://files.tiot.jp/riak/useful-libararies/osx/libssl.1.0.0.dylib```

@pjaclark
Copy link

pjaclark commented Feb 4, 2022

@Bob-The-Marauder Would these be needed for CS 2.x as well?

@Bob-The-Marauder
Copy link
Author

As far as I know, libcrypto is only used in KV. Either way, without KV, CS is pointless. If it's in place for KV, it will automatically be picked up by CS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incorrect information Pages contain incorrect/missing information
Projects
None yet
Development

No branches or pull requests

3 participants