macOS OpenSSL version issue - Homebrew moved it from v1.0 to v1.1 - initial fix
See original GitHub issueHi Guys, for TagUI we may have found the permanent solution. Note that this solution may not help for other projects. Download directly from below link. After unzipping, put contents of unzipped folder into tagui/src/phantomjs folder.
https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-macosx.zip
Though above zip is PhantomJS v2.1.1 (same as TagUI packaged PJS), total file size for this zip after extraction is different. It might be Ariya, creator of PhantomJS, put in a fix already just to solve this headache with macOS/OpenSSL/Homebrew.
Hi Ken,
Today I encountered some error related to openssl while installing tagui on my mac computer. 2.2.0 version of homebrew released on November 27. In this version openssl 1.0 has been deleted for end of life.brew install openssl now installs version 1.1
referance: https://brew.sh/2019/11/27/homebrew-2.2.0/
Version 1.1 has /usr/local/opt/openssl/lib/libssl.1.1.dylib instead of /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
So the following lines of code in the tagui python project don’t work
if not os.path.isfile('/usr/local/opt/openssl/lib/libssl.1.0.0.dylib'):
This can be corrected in some way, but most importantly, phantom addiction.phantom gives the following error in openssl 1.1 version
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib Referenced from: /Users/mcim/.moxie-tagui/phantomjs/bin/phantomjs Reason: image not found
I continue to research about the problem and I will share it when there is an improvement
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:61 (15 by maintainers)
Top Related StackOverflow Question
The solution seems to be running below commands in terminal. There are 2 uninstall commands to make sure any OpenSSL v1.1 is removed, and any dead v1.0 is removed, before installing v1.0.
The v1.0 Homebrew formula below is created by combining the SHA checksums of the
brew extractmethod with the git commit history of OpenSSL v1.0 formula (specifically v1.0.2t).I just wanted to leave a detail summary (based on the comments above) on how to fix this issue at the current moment:
opensslthis way you can chose wich version to use if you have both intalled