Re: pltlc and pltlcu problems - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pltlc and pltlcu problems
Date
Msg-id 4791.1011554056@sss.pgh.pa.us
Whole thread Raw
In response to Re: pltlc and pltlcu problems  (Brent Verner <brent@rcfile.org>)
Responses Re: pltlc and pltlcu problems  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Brent Verner <brent@rcfile.org> writes:
> Indeed I've tracked the problem down to the line that links
> the pltcl.so library:

> gcc -pipe -shared -Wl,-soname,libtcl.so.0 -o pltcl.so pltcl.o -L/usr/lib -ltcl -ldl  -lieee -lm -lc
>                               ^^^^^^^^^^^

Yeah, removing the "-Wl,-soname,libtcl.so.0" switch produces a correctly
functioning pltcl.

> IIRC, this was changed to workaround another problem with the
> tcl client library having name conflicts.  This value (TCL_SHLIB_LD)
> comes directly from the /usr/lib/tclConfig.sh file supplied by the 
> rpm.

I seem to recall that this same problem was being debated a few weeks
back, but apparently we didn't actually do anything about it.  Looks
like we have to.

Peter, didn't you have a proposal on the table to fix this?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Vince Vielhaber
Date:
Subject: AOL buying RedHat?
Next
From: Bruce Momjian
Date:
Subject: Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems)