Re: [BUGS] Error in Makefile

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <maillist@candle.pha.pa.us>
Cc: Ferruccio Zamuner <nonsolosoft@diff.org>, pgsql-bugs@hub.org
Date: 1999-08-25T15:11:55Z
Lists: pgsql-bugs
Bruce Momjian <maillist@candle.pha.pa.us> writes:
>> $ cd pl/tcp
>> $ ld -shared -x -soname pltcl.o -o pltcl.so  -L/usr/local/lib -ltcl80

> Now, configure is generating other files that have some bug where the
> -soname does not have the proper handling.  Can you point me to where
> this problem may be coming from?

pl/tcl doesn't use Makefile.shlib --- it relies on information from
the local Tcl installation to build a Tcl-compatible shlib.  I suspect
what we have here is either an error in Ferruccio's local tclConfig.sh,
or the pl/tcl Makefile is not fully understanding how to use the info
from tclConfig.sh.  If you can build pl/tcl on your system then I'm
guessing the former?  Hard to tell for sure, but it sure looks like
the shlib name is not getting inserted after -soname like it needs to.

			regards, tom lane