Re: Tcl_CreateSlave error (pg 7.1.2, RH 7.2)

From: Janine Sisk <janine(at)furfly(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-general(at)postgresql(dot)org>, Carl Coryell-Martin <carl(at)greenmediatoolshed(dot)org>
Subject: Re: Tcl_CreateSlave error (pg 7.1.2, RH 7.2)
Date: 2002-04-08 18:02:10
Message-ID: B8D75362.7A06%janine@furfly.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Yes, thanks Tom, that works!

My last two messages have been rejected from the list:

<pgsql-general(at)postgresql(dot)org>: Command time limit exceeded:
"/usr/local/majordomo/bin/mj_email -r -d postgresql.org -l
pgsql-general"

so this one probably will be too; you might need to post your own followup
if you want one to be in the archives.

Thanks much!

janine

On 4/8/02 1:37 PM, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Janine Sisk <janine(at)furfly(dot)net> writes:
>> gcc -pipe -shared -Wl,-soname,libtcl.so.0 -o pltcl.so pltcl.o -L/usr/lib
>> -ltcl -ldl -lieee -lm -lc
>
> Oh, oh, oh ... now I remember. See that -Wl,-soname,libtcl.so.0 switch?
> That's causing pltcl.so to be marked internally with the soname
> libtcl.so.0, thus the linker does not think it needs to link anything
> else to resolve that reference. (This is arguably a bug in the Red Hat
> RPMs for Tcl: they put that switch into the link arguments that the Tcl
> config script advertises as being correct to use when trying to link
> against Tcl. PG 7.2 has a defense against this, but 7.1.* did not.)
>
> Probably your easiest fix is to manually repeat the link step for
> pltcl.so with the -Wl bit removed, ie just
>
> gcc -pipe -shared -o pltcl.so pltcl.o -L/usr/lib -ltcl -ldl -lieee -lm -lc
>
> regards, tom lane
>

--
Janine Sisk
President/CEO
furfly.net, LLC
Mont Vernon, NH
Phone: 603-672-1122

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeffrey W. Baker 2002-04-08 18:03:09 Re: more about pg_toast growth
Previous Message David Esposito 2002-04-08 17:40:48 vacuuming not working?