Skip site navigation (1) Skip section navigation (2)


From: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
To: Zudi Iswanto <zudi(at)dnet(dot)net(dot)id>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re:
Date: 2001-07-26 19:29:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
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 DoDate: 2001-07-26 19:36:27
Subject: RE: LIBPQ on Windows and large Queries
Previous:From: John GrayDate: 2001-07-26 17:40:57
Subject: Re: Re: Storing XML in PostgreSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group