Re: Error on stock postgresql-tcl-7.1.3-2.i386.rpm included

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Trond Eivind Glomsrød <teg(at)redhat(dot)com>
Cc: Deds Castillo <deds(at)infiniteinfo(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Error on stock postgresql-tcl-7.1.3-2.i386.rpm included
Date: 2001-11-11 15:38:48
Message-ID: Pine.LNX.4.30.0111111532510.647-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Trond Eivind Glomsrød writes:

> During the build process, the tcl shared module is created like this:
>
> gcc -pipe -shared -Wl,-soname,libtcl.so.0 -o pltcl.so pltcl.o -L/usr/lib -ltcl -ldl -lieee -lm -lc
>
> specifying the soname "libtcl.so.0" and at the same time linking to
> libtcl.so.0 (which is the name of the shared tcl library in RHL 7.2)
> results in trouble when loading it later.

This must be a bug (feature?) in the Tcl package. I see no such thing
happening here (RH 7.0, tcl-8.3.1-46):

gcc -pipe -shared -o pltcl.so pltcl.o -L/usr/lib -ltcl8.3 -ldl -lieee -lm -lc

I don't know whose idea the soname was, but it surely wasn't a good one.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-11-11 15:39:30 Re: Bug #513: union all changes char(3) column definition
Previous Message Peter Eisentraut 2001-11-11 15:38:22 Re: Possible major bug in PlPython (plus some other ideas)