Vapor Installation Issues (First time using Vapor) using Swift 5

非 Y 不嫁゛ 提交于 2020-01-13 15:46:07

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!