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

From Tom Lane
Subject Re: Tcl_CreateSlave error (pg 7.1.2, RH 7.2)
Date
Msg-id 20969.1018278952@sss.pgh.pa.us
Whole thread Raw
In response to Tcl_CreateSlave error (pg 7.1.2, RH 7.2)  (Janine Sisk <janine@furfly.net>)
Responses Re: Tcl_CreateSlave error (pg 7.1.2, RH 7.2)  (Janine Sisk <janine@furfly.net>)
Re: Tcl_CreateSlave error (pg 7.1.2, RH 7.2)  (Janine Sisk <janine@furfly.net>)
List pgsql-general
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

pgsql-general by date:

Previous
From: miguel angel rojas aquino
Date:
Subject: problems with pgsql and jbuilder (jdbc)
Next
From: "Nigel J. Andrews"
Date:
Subject: Re: PHP, HTML Forms & PostgreSQL