Hi Bart and Jeroen, Thank you very much for your analysis and insights. I added LD_LIBRARY_PATH after we started this discussion. So the first directory that the compiler will search for libpq is /usr/local/pgsql/lib. The libpq version in /usr/lib and /usr/local/pgsql/lib are the same i.e. libpq.so.4.1. I think ld places a link in /usr/lib. In any case the LD_LIBRARY_PATH could be the way to go.
I have not been able to check the set up with LD_LIBRARY_PATH as I am getting a lot unresolved symbol errors. I will report back when I track down the compile errors. Thanks again. Rabin _______________________________________________ Libpqxx-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/libpqxx-general
