pg.ddx.io pgsql-interfaces@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Libpq error: Undefined symbols ? 2+ messages / 2 participants [nested] [flat]
* Libpq error: Undefined symbols ? @ 2003-02-15 20:38 Stéphane Pinel <spinel@noos.fr> 0 siblings, 1 reply; 2+ messages in thread From: Stéphane Pinel @ 2003-02-15 20:38 UTC (permalink / raw) To: pgsql-interfaces; +Cc: pgsql-novice@postgresql.org Trying to compile one of the libpq sample from the postgresql website, I get this error : "ld: Undefined symbols: _PQclear _PQerrorMessage _PQexec _PQfinish _PQfname _PQgetvalue _PQnfields _PQntuples _PQresultStatus _PQsetdbLogin _PQstatus" I can't figure out why ? MacOS X 10.2.4 PostgreSQL 7.3 Thanks ------------------------------------------------------------------------ --- Stéphane iChat/AIM: s.pinel ------------------------------------------------------------------------ --- ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Libpq error: Undefined symbols ? @ 2003-02-15 21:02 Tom Lane <tgl@sss.pgh.pa.us> parent: Stéphane Pinel <spinel@noos.fr> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2003-02-15 21:02 UTC (permalink / raw) To: Stéphane Pinel <spinel@noos.fr>; +Cc: pgsql-interfaces; pgsql-novice@postgresql.org =?ISO-8859-1?Q?St=E9phane_Pinel?= <spinel@noos.fr> writes: > Trying to compile one of the libpq sample from the postgresql website, > I get this error : > "ld: Undefined symbols: > _PQclear > _PQerrorMessage Looks like you forgot to link in libpq (-lpq on the command line that produces the executable; you may also need -L to point to the directory containing the library file). regards, tom lane ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-02-15 21:02 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2003-02-15 20:38 Libpq error: Undefined symbols ? Stéphane Pinel <spinel@noos.fr> 2003-02-15 21:02 ` 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