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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Error on stock postgresql-tcl-7.1.3-2.i386.rpm included
Дата
Msg-id Pine.LNX.4.30.0111111532510.647-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: Error on stock postgresql-tcl-7.1.3-2.i386.rpm included in RH7.2  (teg@redhat.com (Trond Eivind Glomsrød))
Список 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 по дате отправления:

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Java's Unicode Notation
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [COMMITTERS] pgsql/src/backend/postmaster postmaster.c