Christopher Browne cbbrowne
Tue Oct 10 07:19:15 PDT 2006
Largo wrote:
> Hi everyody
>
> I get errors while huilding from the source files .
> How to get it fixed ?
> What is exactly the PGclear.
> Do I have a missing package , or what ???
>
> This is the message :
> ------------------------------------------------------------------
> dbutil.o(.text+0x9ef): In function `db_check_requirements':
> : undefined reference to `PQclear'
> collect2: ld returned 1 exit status
> make[2]: *** [slonik] Error 1
> ------------------------------------------------------------------
PQclear is very heavily used...

Here's comment on why:

     /*
      * should PQclear PGresult whenever it is no longer needed to avoid
      * memory leaks
      */
     PQclear(res);


cbbrowne at dba2:OXRS/dbs/pgsql739/lib> grep -i pqclear
*                                                               Tuesday
14:15:41
Binary file libecpg.a matches
Binary file libecpg.so matches
Binary file libecpg.so.3 matches
Binary file libecpg.so.3.4.1 matches
Binary file libpq.a matches
Binary file libpq.so matches
Binary file libpq.so.3 matches
Binary file libpq.so.3.0 matches

It should be included in libpq of any flavour you're likely to have...



More information about the Slony1-general mailing list