Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0KMqLV55989 for ; Sun, 20 Jan 2002 17:52:21 -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 g0KMq7306535; Sun, 20 Jan 2002 17:52:07 -0500 (EST) To: Peter Eisentraut cc: Brent Verner , Murray Prior Hobbs , Lamar Owen , pgsql-hackers@postgresql.org Subject: Re: pltlc and pltlcu problems In-reply-to: References: Comments: In-reply-to Peter Eisentraut message dated "Sun, 20 Jan 2002 17:17:57 -0500" Date: Sun, 20 Jan 2002 17:52:07 -0500 Message-ID: <6532.1011567127@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200201/820 X-Sequence-Number: 17823 Peter Eisentraut writes: > You can surely make things a lot worse for those that are using other > operating systems. I certainly don't agree with making changes just > because Red Hat blew it. It does appear that the problem can be blamed entirely on the RPM packaging of Tcl. I tried configuring from source on RHL 7.2, and neither tcl 8.3.2 nor 8.3.4 produce a "soname" switch in TCL_SHLIB_LD. In fact, grep can't find any occurrence of "soname" anywhere in the Tcl source distribution. Nonetheless, I'm not sure that "do nothing" is an acceptable response on our part. I tried setting up pltcl's makefile to dike out the offending switch: override TCL_SHLIB_LD := $(patsubst %soname%, , $(TCL_SHLIB_LD)) but could not get it to work --- gmake's pattern matching logic seems to be too brain-dead to cope with more than one % in a pattern. And override TCL_SHLIB_LD := $(patsubst -Wl,-soname%, , $(TCL_SHLIB_LD)) doesn't work either; apparently there's no way to escape the comma. Anyone know a cute hack to get gmake to do this? regards, tom lane