Closed chux0519 closed 3 years ago
Setting openssl related flags manually
set(OPENSSL_INCLUDE_DIR /usr/local/Cellar/openssl@1.1/1.1.1g/include)
set(OPENSSL_LIBRARIES /usr/local/Cellar/openssl@1.1/1.1.1g/lib/libcrypto.dylib /usr/local/Cellar/openssl@1.1/1.1.1g/lib/libssl.dylib)
or do some force links to /usr/lib
sudo ln -s /usr/local/opt/openssl@1.1/lib/libcrypto.dylib /usr/lib/libcrypto.dylib
sudo ln -s /usr/local/opt/openssl@1.1/lib/libssl.dylib /usr/lib/libssl.dylib
libevent from homebrew may also cause problem, try to build it from source
failed to link openssl 1.1( macos will link to libressl instead which is not right).