Re: C interface libpq.so.2 problem
От | Tim Barnard |
---|---|
Тема | Re: C interface libpq.so.2 problem |
Дата | |
Msg-id | 007f01c17e6d$eae07c40$a519af3f@hartcomm.com обсуждение исходный текст |
Список | pgsql-general |
If your running on a RedHat installation -- Add the line: /usr/local/pgsql/lib to the bottom of the file: /etc/ld.so.conf then run ldconfig. Your app will now find the shared file. Tim ----- Original Message ----- From: <dsmclennan@spipowernet.com.au> To: <pgsql-interfaces@postgresql.org> Sent: Sunday, December 02, 2001 8:57 PM Subject: C interface libpq.so.2 problem > Hi , > > as a new user I have followed the Momjian libpq sample program format > > #include "libpq-fe.h" > > and cc -I/usr/local/pgsql/include -o myapp myapp.c > -L/usr/local/pgsql/lib -lpq > > my application compiles but on execution gives > > libpq.so.2: cannot open shared object file > > Similar problems have been listed before but none of the suggestions fixed > my problem. > Does anyone recognise this problem? > > Thanks > > David McLennan > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This footnote also confirms that this email message has been swept by > MIMEsweeper for the presence of computer viruses. > > www.mimesweeper.com > ********************************************************************** > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > >
В списке pgsql-general по дате отправления: