Re: Tcl_CreateSlave error (pg 7.1.2, RH 7.2)

From: Darren Ferguson <darren(at)crystalballinc(dot)com>
To: Janine Sisk <janine(at)furfly(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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:12:31
Message-ID: Pine.LNX.4.10.10204081411310.7686-100000@thread.crystalballinc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I think the problem may be that the libtcl.so is from the 7.2 that you
originally had installed and is not compatible with the 7.1.2

That is normally the reason for these kind of problems

Darren Ferguson

On Mon, 8 Apr 2002, Janine Sisk wrote:

> 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
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ben 2002-04-08 18:25:43 Do I just not understand count()?
Previous Message Stephan Szabo 2002-04-08 18:08:49 Re: Seq. scan when using comparison operators, why?