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

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: David Conners <davidthewise(at)earthlink(dot)net>
Cc: Constantin Teodorescu <teo(at)flex(dot)ro>, PostgreSQL Interfaces <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] with Tcl 8.2.0 -> libpgtcl.so: undefined symbol: PQresStatus
Date: 1999-08-23 17:39:35
Message-ID: 37C18757.D5E0DA81@wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Zubair Saifullah 1999-08-23 19:18:40 jdbc . Urgent
Previous Message Byron Nikolaidis 1999-08-23 17:34:00 Re: [INTERFACES] Access 2000