Re: Tcl_CreateSlave error (pg 7.1.2, RH 7.2)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Janine Sisk <janine(at)furfly(dot)net>
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 15:15:52
Message-ID: 20969.1018278952@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Frank Hilliard 2002-04-08 15:27:02 Re: PHP, HTML Forms & PostgreSQL
Previous Message miguel angel rojas aquino 2002-04-08 15:10:48 problems with pgsql and jbuilder (jdbc)