Closed shubham1164 closed 5 years ago
What must be the path of openssl, I can find following 3 options in my system: /opt/local/bin/openssl /usr/local/Cellar/openssl/1.0.2q /usr/local/opt/openssl
I don't know if it is ok to have openssl at these 3 places. May be I have incorrect linking to some path which should not happen. Please guide.
I use openssl from brew:
export OPENSSL_ROOT_DIR=$(brew --prefix openssl)
export OPENSSL_LIB_DIR=$(brew --prefix openssl)"/lib"
export OPENSSL_INCLUDE_DIR=$(brew --prefix openssl)"/include"
export CFLAGS="-I$OPENSSL_INCLUDE_DIR"
export LDFLAGS="-L$OPENSSL_LIB_DIR"
Hi @shubham1164
Has @arcusfelis suggestion helped? Do you need any extra hints? :)
No success. It seems there is some issue with openssl on Latest Mac
In my case following command works on Mojave and OpenSSL from Brew:
CFLAGS="-I/usr/local/Cellar/openssl/1.0.2p/include/" LDFLAGS="-L/usr/local/Cellar/openssl/1.0.2p/lib/" make
Please try to replace 1.0.2p
with 1.0.2q
in your case and run it for a fresh repo (just to make sure that there are no leftovers from failed builds).
I have tried your suggestion and it is still not working. I think I must try to re-install openssl and other un-necessary stuff and then try again. All the above suggestions must work after that otherwise I will either re-open the case or ask it on stack-overflow. Thank you guyz. Love your support. 👍
MongooseIM version: (put the version) 3.2 Installed from: (source or pkg) source Erlang/OTP version: (put the version) 21.2
Describe the issue.
I am unable to compile mongooseim from the source code on freshly installed Mac OS Mojave due to issue in the fast_tls or openSSL. I have followed all the steps mentioned in the docs like below:
Issue
The compiling stopped after fast_tls.so:
More tries:
I have even tried to compile or configure fast_tls from the source code, but it was not building. See logs:
May be elrang OTP 21.2 is causing the problems or I am unable to set up openSSL. Following are the few openssl related info.
The issue seems simple and previously it was working but after the OS upgrade (Hight Sierra to Mojave) and switching from Mongooseim 3.0 to 3.2 started facing this issue.
Also see stackoverflow post regarding the same: https://stackoverflow.com/questions/54684165/unable-to-install-mongooseim-from-source-code-on-mac-os-10-14-2