Re: Error on stock postgresql-tcl-7.1.3-2.i386.rpm included - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Error on stock postgresql-tcl-7.1.3-2.i386.rpm included
Date
Msg-id Pine.LNX.4.30.0111111532510.647-100000@peter.localdomain
Whole thread Raw
In response to Re: Error on stock postgresql-tcl-7.1.3-2.i386.rpm included in RH7.2  (teg@redhat.com (Trond Eivind Glomsrød))
List 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@gmx.net



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Java's Unicode Notation
Next
From: Peter Eisentraut
Date:
Subject: Re: [COMMITTERS] pgsql/src/backend/postmaster postmaster.c