Re: pltlc and pltlcu problems

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pltlc and pltlcu problems
Дата
Msg-id 4791.1011554056@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pltlc and pltlcu problems  (Brent Verner <brent@rcfile.org>)
Ответы Re: pltlc and pltlcu problems
Список 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 по дате отправления:

Предыдущее
От: Vince Vielhaber
Дата:
Сообщение: AOL buying RedHat?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems)