There seems to be quite a few pages floating around to help those who are getting errors in OSX similar to Library not loaded: libssl.1.0.0.dylib
. Mostly this seems to be related to the use of a python module called psycopg2
within Django, but I assume it could happen in a variety of ways.
Most posts suggest putting symlinks in /usr/lib
to the needed library (which happens to be installed within a directory in your local PostgreSQL installation). This technique makes me particularly nervous as it advocates altering system wide settings and hence alters the code that is run for any program that requires libssl
.
In contrast this StackExchange post provides a method that avoids this issue.
On my system the command that fixed everything was:
export DYLD_FALLBACK_LIBRARY_PATH='/Library/PostgreSQL/9.3/lib'