Did you set LD_LIBRARY_PATH to locate directory where libpq.so.3 can be found ? (Something like LD_LIBRARY_PATH=$PGHOME/lib:$LD_LIBRARY_PATH)
Luc Jouneau ----- Original Message ----- From: "Kris Kiger" <[EMAIL PROTECTED]> To: "Postgres Admin List" <[EMAIL PROTECTED]> Sent: Monday, September 22, 2003 6:14 PM Subject: [ADMIN] libpq problem > I have written a variation of one of the libpq C functions provided with > postgres. It compiles just fine, but when I try to execute the program > it reports the following error: > > ./a.out: error while loading shared libraries: libpq.so.3: cannot open > shared object file: No such file or directory > > I have checked my system and the libpq.so.3 exists and all of its > dependancies are linked. Just curious if anyone has any ideas. Thanks > > Kris > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to [EMAIL PROTECTED] so that your > message can get through to the mailing list cleanly > ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly