-
-
Notifications
You must be signed in to change notification settings - Fork 394
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
ld: library not found for -lcrypto on macOS Sierra with OpenSSL installed via Homebrew #206
Comments
oh, thanks @ralfr VerneMQ should be running on OS X, but there were different issues for the SSL thing. I hope Apple did not change something there with Sierra AGAIN! :) |
Unfortunately, the issue persists. |
Also, this & this maybe help? it's basically all about the same thing OpenSSL and linking to it |
Maybe the -L option is missing? (example from a user for his CFLAGS: |
That did the trick! I'm one step closer. However, now it fails with this:
|
I should maybe add that
(VerneMQ deservers to become a Homebrew package...) |
Ok, weird. But do you have Apple's XCode installed? or possibly something called the "Command Line Tools". Yes, we need this as a Homebrew package... & give more love to OS X :) |
Yes. Xcode and Command Line Tools are there. And typing
|
Oh noes, then we seem to have a real problem on Sierra? @dergraf any idea there? Just to make sure, can you run the on a sunday, no less... :) |
No idea.. I d require a mac to be able to debug this. Are you on Sierra on your mb air @afa? |
no, one version behind. |
It worked! Here is what I did:
In the |
@ioolkos Are you on Twitter? |
Ha, awesome. Many thanks @ralfr ! :) (my personal twitter name is @frescosecco) |
This issue is persisting on Sierra, have you upgraded @ralfr? , i'm making a Formula for homebrew but don't have any success it fails compiling eleveldb |
The above commands by @ralfr return another error:
rebar3.crashdump:
|
Hi @chimit The |
hi @chimit forget the above. It looks to me like you're not using the rebar3 file supplied with vernemq. If the |
Hi, @larshesel After I start
|
hi @chimit It looks like this might be your issue: erlware/relx#564. If you're feeling adventurous you could try to build rebar3 yourself: https://github.com/erlang/rebar3 and drop the rebar3 file into the vernemq folder From what I understood v3.3.2 should not have this issue. It would be great if you could confirm if this works for you as I don't have access to an OSX machine to test - if it does I'd downgrade the package we ship with vernemq. |
hi @chimit did you solve your issue? Otherwise I just saw that there's a new version of rebar3 available (3.3.6) on http://www.rebar3.org/. We would probably upgrade to this version on master soon anyway - but it would be great if you could try it out and verify if it solves the problem! To test it you would only have to drop the new version into a new clone of vernemq (overwriting the old rebar3 version) and run Cheers! |
Hi, @larshesel! |
ok - I don't know about the sudo issue - but I'll recommend we upgrade our rebar3 version. Thanks for testing it out! |
This should fix build issues on osx. See vernemq#206 (comment) and vernemq#366.
@codeadict want to step in with your homebrew formula? |
This should fix build issues on osx. See #206 (comment) and #366.
Trying to build VerneMQ on macOS Sierra. OpenSSL installed via Homebrew. Command line to make:
CFLAGS="-I /usr/local/Cellar/openssl/1.0.2j/include/" make rel
However, fails with the following:
===> Compiling lager_syslog ===> Compiling vmq_acl ===> Compiling eper ===> Compiling vmq_passwd gcc -I /usr/local/Cellar/openssl/1.0.2j/include/ vmq_passwd.c -lcrypto -o vmq_passwd ld: library not found for -lcrypto clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [compile] Error 1 ===> Hook for compile failed!
Any help is greatly appreciated!
The text was updated successfully, but these errors were encountered: