pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedlibpq problem - kdevelop
2+ messages / 2 participants
[nested] [flat]
* libpq problem - kdevelop
@ 2001-07-31 13:44 Gary S. Brace <gbrace@cais.com>
0 siblings, 1 reply; 2+ messages in thread
From: Gary S. Brace @ 2001-07-31 13:44 UTC (permalink / raw)
To: pgsql-interfaces
Hi,
I cannot seem to be able to use libpq in a kdevelop c program- I get the error
message upon execution: ./testpg: error loading shared libraries:
libpq.so.2: cannot load shared object file: No such file or directory
include:
#include "libpq-fe.h"
compiler options -> additional options: -I/usr/local/pgsql/include
linker options-> additional libraries: -lpq -L/usr/local/pgsql/include
(/usr/local/pgsql) is the correct path. Anybody know what I'm doing wrong?
Thanks
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: libpq problem - kdevelop
@ 2001-07-31 15:15 Tom Lane <tgl@sss.pgh.pa.us>
parent: Gary S. Brace <gbrace@cais.com>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2001-07-31 15:15 UTC (permalink / raw)
To: gbrace@cais.com; +Cc: pgsql-interfaces
"Gary S. Brace" <gbrace@cais.com> writes:
> Anybody know what I'm doing wrong?
The runtime loader isn't finding libpq.so. This is pretty
platform-dependent, but most likely you need to set LD_LIBRARY_PATH
in your environment or tell ldconfig where to find the library.
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-07-31 15:15 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-07-31 13:44 libpq problem - kdevelop Gary S. Brace <gbrace@cais.com>
2001-07-31 15:15 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox