Help Wanted for running C code - Mailing list pgsql-hackers

From Pa O'Clerigh
Subject Help Wanted for running C code
Date
Msg-id 20020305112646.33414.qmail@web9102.mail.yahoo.com
Whole thread Raw
Responses Re: Help Wanted for running C code  ("Mark Pritchard" <mark@tangent.net.au>)
Re: Help Wanted for running C code  (Patrick Welche <prlw1@newn.cam.ac.uk>)
Re: Help Wanted for running C code  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Hello help wanted asap for this one please.
I have installed POstgres on my own machine and i am
in charge of its settings.

the problem is when i try and run a small piece of c
code i get an error which states the following:
cc  testing_connection.c  -L/usr/local/pgsql/lib -lpq 
-I/usr/local/pgsql/include -o fred -O0  
$ ./fred
./fred: error in loading shared libraries: libpq.so.2:
cannot open shared object file: No such file or
directory


the program followed all the steps set out in the
postgres documentation on building Libpq programs.
But i still get the above??
Any suggestions please

__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/


pgsql-hackers by date:

Previous
From: "info"
Date:
Subject: FW: Re: [JDBC] DB mirroring
Next
From: "Robert E. Bruccoleri"
Date:
Subject: Re: bad performance on irix