Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0KJEZV10786 for ; Sun, 20 Jan 2002 14:14:36 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g0KJEG304794; Sun, 20 Jan 2002 14:14:17 -0500 (EST) To: Brent Verner cc: Peter Eisentraut , Murray Prior Hobbs , Lamar Owen , pgsql-hackers@postgresql.org Subject: Re: pltlc and pltlcu problems In-reply-to: <20020120073637.A10068@rcfile.org> References: <3C482537.9040005@efone.com> <6420.1011366281@sss.pgh.pa.us> <3C48F172.60302@efone.com> <11962.1011413533@sss.pgh.pa.us> <3C49273E.8080307@efone.com> <20020119031917.A83905@rcfile.org> <3C493100.2070905@efone.com> <20020120065929.A9940@rcfile.org> <3C4AB719.1000103@efone.com> <20020120073637.A10068@rcfile.org> Comments: In-reply-to Brent Verner message dated "Sun, 20 Jan 2002 07:36:37 -0500" Date: Sun, 20 Jan 2002 14:14:16 -0500 Message-ID: <4791.1011554056@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200201/808 X-Sequence-Number: 17812 Brent Verner 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