Re: pltlc and pltlcu problems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brent Verner <brent(at)rcfile(dot)org>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Murray Prior Hobbs <murray(at)efone(dot)com>, Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pltlc and pltlcu problems
Date: 2002-01-20 19:14:16
Message-ID: 4791.1011554056@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

Brent Verner <brent(at)rcfile(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vince Vielhaber 2002-01-20 19:19:03 AOL buying RedHat?
Previous Message Bruce Momjian 2002-01-20 19:10:53 Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems)

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2002-01-20 20:58:14 Re: pltlc and pltlcu problems
Previous Message Bruce Momjian 2002-01-20 19:10:53 Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems)