Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ImportError: dlopen(/Users/Craig/pyenv/mysite/lib/python2.7/site-packages/psycopg2/_psycopg.so, 2): Library not loaded: @executable_path/../lib/libssl.1.0.0.dylib
- Referenced from: /Applications/Postgres.app/Contents/MacOS/lib/libpq.dylib
- Reason: image not found
- $ sudo ln -s /Library/PostgreSQL/9.2/lib/libssl.1.0.0.dylib /usr/lib
- $ sudo ln -s /Library/PostgreSQL/9.2/lib/libcrypto.1.0.0.dylib /usr/lib
- export DYLD_FALLBACK_LIBRARY_PATH=/Applications/Postgres.app/Contents/MacOS/lib:$DYLD_LIBRARY_PATH
- alias psql="(. ~/.bash_profile; unset DYLD_FALLBACK_LIBRARY_PATH; psql)";
- export DYLD_LIBRARY_PATH=/Library/PostgreSQL/x.y/lib
- import os
- os.environ['DYLD_LIBRARY_PATH'] = '/Library/PostgreSQL/x.y/lib'
- brew install openssl
- export DYLD_LIBRARY_PATH=/usr/local/Cellar/openssl/**1.0.1x**/lib
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement