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