Re: [INTERFACES] Libpq error: Undefined symbols ? - Mailing list pgsql-novice

From Tom Lane
Subject Re: [INTERFACES] Libpq error: Undefined symbols ?
Date
Msg-id 25998.1045342965@sss.pgh.pa.us
Whole thread Raw
In response to Libpq error: Undefined symbols ?  (Stéphane Pinel <spinel@noos.fr>)
List pgsql-novice
=?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

pgsql-novice by date:

Previous
From: Stéphane Pinel
Date:
Subject: Libpq error: Undefined symbols ?
Next
From: "Denis Grannell"
Date:
Subject: question on 'create domain'