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