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 16:05:47
Message-ID: B8D7381B.79E1%janine@furfly.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mine is

[joeweb(at)rex lib]$ ldd pltcl.so
libdl.so.2 => /lib/libdl.so.2 (0x4000f000)
libm.so.6 => /lib/i686/libm.so.6 (0x40013000)
libc.so.6 => /lib/i686/libc.so.6 (0x40036000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

So obviously the problem is that libtcl.so isn't linked in at all. I wonder
how I was able to build it at all?

I do *have* libtcl.so, btw:

[joeweb(at)rex lib]$ locate libtcl.so
/usr/lib/libtcl.so
/usr/lib/libtcl.so.0

I will try rebuilding pltcl.so and see if there are any error messages.

thanks,

janine

On 4/8/02 11:15 AM, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Janine Sisk <janine(at)furfly(dot)net> writes:
>> Yesterday I installed Postgres 7.1.2 on Redhat 7.2. The install appeared to
>> go well, but createlang doesn't work:
>
>> [joeweb(at)rex joeweb]$ createlang pltcl joewebtest
>> ERROR: Load of file /usr/local/pgsql-7.1.2/lib/pltcl.so failed:
>> /usr/local/pgsql-7.1.2/lib/pltcl.so: undefined symbol: Tcl_CreateSlave
>> createlang: language installation failed
>
> Does the dynamic loader find libtcl.so? Running ldd on pltcl.so might
> be enlightening.
>
> FWIW, I see no problem with PG 7.1.3 built from source on stock RH 7.2.
> ldd pltcl.so shows
>
> libtcl.so.0 => /usr/lib/libtcl.so.0 (0x40023000)
> libdl.so.2 => /lib/libdl.so.2 (0x400a3000)
> libm.so.6 => /lib/i686/libm.so.6 (0x400a7000)
> libc.so.6 => /lib/i686/libc.so.6 (0x400ca000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
>
> regards, tom lane
>

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Janine Sisk 2002-04-08 16:23:12 Re: Tcl_CreateSlave error (pg 7.1.2, RH 7.2)
Previous Message Gregory Wood 2002-04-08 15:57:37 Re: Porting from MySql - meta data issues