Tried installing vapor with homebrew with the official docs.
Running all commands in zsh:
brew tap vapor/tap
brew install vapor/tap/vapor
vapor --help
vapor --help running properly without errors

It looks like there's a hard requirement to [email protected], I have [email protected]
If you go to usr/local/opt/vapor and look at the readme they have instructions for for installing it manually. The problem though is that you still need two libraries from openssl1.0.0. If you do a search for the two libraries you need there are a couple of projects which have them in their repos. They work. It's not the best way but it will make it work until they change the openssl requirement. Brew no longer has openssl versions below the current one as those versions were phased out earlier this year if you look at the commit history for openssl.
Will this issue happen in the future with vapor@4 (say after OpenSSL updated and vapor@4 doesn’t)? Or has this been future proved?
If not might it be an option to package OpenSSL in vapor?
Will this issue happen in the future with vapor@4 (say after OpenSSL updated and vapor@4 doesn’t)? Or has this been future proved?
If not might it be an option to package OpenSSL in vapor?
You can find libssl1.0.0 here https://github.com/zoom/zoom-sdk-macos/blob/master/ZoomSDK/libssl.1.0.0.dylib
and you can find libcrypto.1.0.0 here : https://github.com/dathinaios/sc_osx_standalone/blob/master/MacOS/libcrypto.1.0.0.dylib
for both of them just click view raw and they will download.
I have attached vapor's directions
README.txt
@Phzytaylor Thanks :+1:
@Phzytaylor Thanks 👍
Did it work for you?
➜ vapor-4-test git:(master) ✗ /usr/local/Cellar/vapor/3.1.10/bin/vapor
dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
Referenced from: /usr/local/Cellar/vapor/3.1.10/bin/vapor
Reason: image not found
[1] 38857 abort /usr/local/Cellar/vapor/3.1.10/bin/vapor
First received this error then downloaded and added libcrypto aswel:
cp ~/Downloads/lib*.dylib /usr/local/opt/openssl/lib/
@Phzytaylor And now it works! 🎊
Tested:
vapor --help ✅ vapor new name --template=api ✅ vapor xcode ✅ Is there an understanding about how to fix this permanently? Downloading dylibs from two websites, especially dylibs specific to security and encryption, feels like a vulnerability!
Is there an understanding about how to fix this permanently? Downloading dylibs from two websites, especially dylibs specific to security and encryption, feels like a vulnerability!
Open ssl has an official website, but I wasn't sure how to compile what they gave you. They just have to update the tool box to use the newer version of openssl because homebrew doesn't have the older one anymore.
Sorry, maybe the question should be is that in the plan? Is the vapor team aware of this issue and is addressing it? @lil5 maybe you should keep this issue open.
@yoiang - the Vapor team are aware of it and I’m sure there’ll be a permanent fix ASAP (especially as it’s blocking things like Vapor Cloud) but Thanksgiving is holding things up at the moment.
This has been fixed in Vapor Toolbox 3.1.11.
brew upgrade vapor
Most helpful comment
First received this error then downloaded and added libcrypto aswel:
@Phzytaylor And now it works! 🎊
Tested:
vapor --help✅vapor new name --template=api✅vapor xcode✅