psycopg2 error
"Martin v. Löwis"
martin at v.loewis.de
Wed May 9 00:17:09 EDT 2007
> ImportError: libpq.so.5: cannot open shared object file: No such file or
> directory
>
> libpq files are readable by the world: root at lince pgsql # ll lib/ -d
> drwxr-xr-x 3 postgres postgres 1528 2007-05-07 23:25 lib/
Don't try this as the root user, but as the one for whom it is failing:
What does "file /usr/local/psql/lib/libpq.so.5" say?
> The postgreSQL lib is in ld.so.conf and ldconfig has been run:
>
> What is wrong?
So what does "/sbin/ldconfig -p" say, when run as the user for whom
it is failing?
Regards,
Martin
More information about the Python-list
mailing list