From: "Jeroen T. Vermeulen" <[EMAIL PROTECTED]>
To: "Luis Silva" <[EMAIL PROTECTED]>
CC: [email protected]
Subject: Re: [libpqxx-general] error compling and linking
Date: Tue, 27 Dec 2005 12:52:28 +0700 (ICT)
On Mon, December 26, 2005 22:53, Luis Silva wrote:
> I there i'm having a problem compiling my program I'm having this
errors:
> /usr/local/lib/libpqxx.a (connection.o) (. text+0x1c) : In function
> 'pqxx::lazyconnection::completeconnect()':
> ../include/pqxx/connection_base.hxx:198 undefined reference to
> 'PQconnectdb'
> What might be the problem? tks in advance
Looks like you're not linking with libpq, which is the C API that lies
underneath libpqxx.
Jeroen
Tks,but can you tell how to link it?
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general