Re: Tcl_CreateSlave error (pg 7.1.2, RH 7.2) - Mailing list pgsql-general

From Darren Ferguson
Subject Re: Tcl_CreateSlave error (pg 7.1.2, RH 7.2)
Date
Msg-id Pine.LNX.4.10.10204081411310.7686-100000@thread.crystalballinc.com
Whole thread Raw
In response to Re: Tcl_CreateSlave error (pg 7.1.2, RH 7.2)  (Janine Sisk <janine@furfly.net>)
List 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@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@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@sss.pgh.pa.us> wrote:
>
> > Janine Sisk <janine@furfly.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@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@postgresql.org
>


pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Seq. scan when using comparison operators, why?
Next
From: Ben
Date:
Subject: Do I just not understand count()?