On Thu, Jul 26, 2001 at 04:55:14PM +0700, Zudi Iswanto wrote:
> I am developing application with c++
> /tmp/ccy63XDd.o(.text+0x70): undefined reference to `PQsetdbLogin'
> /tmp/ccy63XDd.o(.text+0x91): undefined reference to `PQstatus'
> /tmp/ccy63XDd.o(.text+0xc4): undefined reference to `PQerrorMessage'
Did you link libpq as well as libpq++ ? ie something like
-L/usr/local/lib/pgsql -Wl,-R/usr/local/lib/pgsql -lpq++ -lpq
In response to
- at 2001-07-26 09:55:14 from Zudi Iswanto
pgsql-hackers by date
|Next:||From: Khoa Do||Date: 2001-07-26 19:36:27|
|Subject: RE: LIBPQ on Windows and large Queries|
|Previous:||From: John Gray||Date: 2001-07-26 17:40:57|
|Subject: Re: Re: Storing XML in PostgreSQL|