简体   繁体   English

使用 Swift 5 的 Vapor 安装问题(第一次使用 Vapor)

[英]Vapor Installation Issues (First time using Vapor) using Swift 5

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.请帮忙。

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或者也许需要libressl

brew install libressl

Have you tried ?你有没有尝试过 ?

brew update && brew upgrade
brew install openssl

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM