Monday, October 28, 2013

Re: Psycopg2 on Mac OS X (Snow Leopard)

> I just had this exact same problem and it took me a while to find the
> solution.
>
> On OSx there is a separate library path variable for .dylib library files. I
> added the following to my .bashrc (or.bash_env or however you set up your
> shell environment).
>
> export
> DYLD_LIBRARY_PATH="/usr/local/Cellar/openssl/1.0.1e/lib/:$DYLD_LIBRARY_PATH"

Thanks for the suggestion. Found libssl in the PostgreSQL installation:

% find / -name libssl.1.0.0.dylib 2>/dev/null
/Library/PostgreSQL/9.2/lib/libssl.1.0.0.dylib
/Library/PostgreSQL/9.2/pgAdmin3.app/Contents/Frameworks/libssl.1.0.0.dylib

I guess that makes sense. I should be able to modify the activate
script and deactivate function to set/reset DYLD_LIBRARY_PATH
appropriately.

Skip

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANc-5Uwsjcw7B3sX2XkXCH%2BqCM1QX8x2BZT55U9RApK08PTgAg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment