Skip to content
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

macOS - dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib [fixed] #222

Closed
kensoh opened this issue Mar 16, 2021 · 2 comments
Labels

Comments

@kensoh
Copy link
Member

kensoh commented Mar 16, 2021

Hi RPA for Python macOS users!

If you run into above error message during r.init(), please try running below solution and it should fix it.

Issue with some macOS level changes regarding SSL, OpenSSL version changes, Homebrew and stuffs.
The solution is downloading an updated copy of PhantomJS which seems to work well with these changes.

Here's why I've been missing in action and hope to be back soon to look into issues - #144 (comment)
And a BIG SHOUT OUT to Dominik / @fi-do for being a Community Hero here helping other users!! <3

@kensoh kensoh added the bug label Mar 16, 2021
@kensoh
Copy link
Member Author

kensoh commented Mar 16, 2021

import rpa as r
import os
os.chdir(os.path.expanduser('~') + '/.tagui/src')
r.download('https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-macosx.zip', 'phantomjs.zip')
r.unzip('phantomjs.zip')
os.rename('phantomjs', 'phantomjs_old')
os.rename('phantomjs-2.1.1-macosx', 'phantomjs')
os.system('chmod -R 755 phantomjs > /dev/null 2>&1')
r.init()

PS - this fix will be in the next release of the package

kensoh added a commit that referenced this issue Apr 4, 2021
@kensoh kensoh changed the title dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib - solution here dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib [fixed] Apr 4, 2021
@kensoh
Copy link
Member Author

kensoh commented Apr 4, 2021

This is fixed in v1.30, available with pip install rpa --upgrade

@kensoh kensoh changed the title dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib [fixed] dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib - macOS [fixed] Apr 4, 2021
@kensoh kensoh changed the title dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib - macOS [fixed] macOS - dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib [fixed] Apr 4, 2021
@kensoh kensoh closed this as completed Jul 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant