-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dyld: Library not loaded: /usr/local/opt/libressl/lib/libssl.47.dylib #117
Comments
@aDotInTheVoid which version of macOS are you using? |
Also @aDotInTheVoid can you change this line in your ponyup-init.sh that you downloaded from "releases" to "nightlies" and let me know if you are good. https://github.com/ponylang/ponyup/blob/master/ponyup-init.sh#L7 |
macOS Catilina: l10.15.4 (19E287) Unfortunately, nightly doesn't fix it Full log$ ./pony.sh
ponyup_root = /Users/nixon/.local/share/ponyup
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2905 100 2905 0 0 7830 0 --:--:-- --:--:-- --:--:-- 7830
checksum=91cd9d02c4ed056f09d58c264e3abc2790ed9ae4543add06c473dd874cf13333
dl_url=https://dl.cloudsmith.io/public/ponylang/nightlies/raw/versions/20200513/ponyup-x86-64-apple-darwin.tar.gz
downloading ponyup-x86-64-apple-darwin.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 241k 100 241k 0 0 1155k 0 --:--:-- --:--:-- --:--:-- 1155k
checksum ok
ponyup placed in /Users/nixon/.local/share/ponyup/bin
$ which ponyup
/Users/nixon/.local/share/ponyup/bin/ponyup
$ ponyup
dyld: Library not loaded: /usr/local/opt/libressl/lib/libssl.47.dylib
Referenced from: /Users/nixon/.local/share/ponyup/bin/ponyup
Reason: image not found
Abort trap: 6 |
That's odd. I'm guessing that we need to do a brew update to get the latest package definitions. I'll set that up and ping you again in a couple days to test a nightly again. Thanks for the information @aDotInTheVoid. |
@aDotInTheVoid I got a little sidetracked. On Saturday Eastern US time, can you try the latest nightly and see if it works for you. It will be generated around midnight eastern time and will be ready anytime after that. I think will fix the issue as we should be linking against the latest libressl installed by homebrew at that point. Thanks for your assistance! |
@aDotInTheVoid scratch that. We have a chicken and the egg problem at the moment. @Theodus I think we are going to have to install ponyc and corral "the hard way" on macOS in order to work around a dependency problem as we can't run ponyup to install corral with the updated libressl. I could get clever to get around that but I don't think that would help for long. |
When the libressl version changes, ponyup won't run, so we can't build a new ponyup to adapt as the current ponyup can't run and install the dependencies. See #117
When the libressl version changes, ponyup won't run, so we can't build a new ponyup to adapt as the current ponyup can't run and install the dependencies. See #117
@Theodus to address this problem we need to make ponyup on macOS always install the most recent nightly rather than a release. additionally, we need to tell people if they update libressl that they will need to reinstall the latest ponyup nightly IF brew installs the old ssl (I don't know if it does, that would be shitty, but, we'll find out). |
When the libressl version changes, ponyup won't run, so we can't build a new ponyup to adapt as the current ponyup can't run and install the dependencies. See #117
@aDotInTheVoid can you try the latest nightly please? |
@SeanTAllen had the same issue on Mojave 10.14.6, changing the default repository to "nightlies" fixed the issue for me. |
Works for me with lates nightly too ( Thanks for the fix |
Currently, brew installs
libcrypto.46.dylib
andlibssl.48.dylib
However ponyup expects
libssl.47.dylib
andlibcrypto.46.dylib
. This lead to errors likeThe text was updated successfully, but these errors were encountered: