Re: [INTERFACES] with Tcl 8.2.0 -> libpgtcl.so: undefined symbol: PQresStatus - Mailing list pgsql-interfaces

From Lamar Owen
Subject Re: [INTERFACES] with Tcl 8.2.0 -> libpgtcl.so: undefined symbol: PQresStatus
Date
Msg-id 37C18757.D5E0DA81@wgcr.org
Whole thread Raw
In response to with Tcl 8.2.0 -> libpgtcl.so: undefined symbol: PQresStatus  (Constantin Teodorescu <teo@flex.ro>)
List pgsql-interfaces
David Conners wrote:
> The libgtcl.so.2.0 compiled in version 6.5.1 was 26474 bytes.
> The libgtcl.so.2.0 compiled in version 6.4.2 was 60449 bytes.
> 
> Recompiling in 6.5.1 produced the same result.
> 
> I replaced the libgtcl.so.2.0 compiled in version 6.5.1  with the
> one compiled in 6.4.2, and the problem went away.

This sounds suspiciously like the glibc 2.0.x dynamic load bug that has
plagued AOLserver -- this shouldn't show up under a glibc 2.1-based
system if that is the case.  The solution?  Upgrade to glibc 2.1.x, or
edit the makefile for libpgtcl.so to statically link in libpq.a. -- I
think a great deal of effort was expended for 6.5.1 for dynamically
linking all the libs (which is why the 6.4.2 libpgtcl.so is so much
bigger than 6.5.1's).

Lamar Owen
WGCR Internet Radio


pgsql-interfaces by date:

Previous
From: Byron Nikolaidis
Date:
Subject: Re: [INTERFACES] Access 2000
Next
From: "Robson Martins"
Date:
Subject: Problem to access postgres database with jdbc using the driver on the server side...