=?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