So it looks like PoPy isn't even looking for libpq.
Agreed. Something is definately wrong with the build! You might want to try a hand build. My makefile generated this:
gcc -fPIC -g -O2 -I/usr/include/python1.5 -I/usr/lib/python1.5/config -DHAVE_CO NFIG_H=1 -DHAVE_POSTGRESQL_LIBPQ_FE_H=1 -DHAVE_POSTGRESQL_LIBPQ_LIBPQ_FS_H=1 - c ./PoPymodule.c gcc -shared -lc PoPymodule.o -lpq -o PoPymodule.so
You might export LD_LIBRARY_PATH=/opt/psql/lib
and then execute those commands. Maybe this will fix your PoPY....
I'll give this a shot when I get back to the office Monday - Thanks for all of your help. - Steve __________________________________________________________________ Get your Private, Anti-Spam, Free Email at http://e3mil.com and Step into a Friendly Universe!