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

From: Zudi Iswanto <zudi(at)dnet(dot)net(dot)id>
To: pgsql-hackers(at)postgresql(dot)org
Subject:
Date: 2001-07-26 09:55:14
Message-ID: 01072616591102.19283@zudi (view raw or flat)
Thread:
Lists: pgsql-hackers
Dear all ...
I have a postgres problem 
I am developing application with c++
to connect to postgres SQL.

When I compiled my source.cc I found some error like this :

/tmp/ccy63XDd.o: In function `main':
/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'
collect2: ld returned 1 exit status

Please help me to fix the problem .....
Thank you for your attention ....

-- 
Zudi Iswanto

Responses

  • Re: at 2001-07-26 19:29:21 from Patrick Welche

pgsql-hackers by date

Next:From: John GrayDate: 2001-07-26 10:15:10
Subject: Linking a shared library against a C function
Previous:From: Zeugswetter Andreas SBDate: 2001-07-26 07:18:36
Subject: AW: Re: Slow Performance in PostgreSQL

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