问题
After installing vapor i am getting below error
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/bin/vapor
Reason: image not found
Abort trap: 6
Here lies my issue, I have no idea how to solve that.even I am not able to create new project. Please help.
回答1:
I never faced with that issue but saw this tricky solution in some chat
ln -s /usr/local/opt/openssl/lib/libssl.1.1.dylib /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
ln -s /usr/local/opt/openssl/lib/libcrypto.1.1.dylib /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
or maybe libressl
needed
brew install libressl
回答2:
Have you tried ?
brew update && brew upgrade
brew install openssl
来源:https://stackoverflow.com/questions/59030199/vapor-installation-issues-first-time-using-vapor-using-swift-5