This thread helped me (i was using RH 7.2)
http://archives.postgresql.org/pgsql-hackers/2001-11/msg00312.php
I already had the src rpm downloaded, installed and re-compiled though, so
it was a simple matter of:
gcc -pipe -shared -Wl,-soname,libpltcl.so.0 -o pltcl.so pltcl.o -L/usr/lib
-ltcl -ldl -lieee -lm -lc
in the /usr/src/redhat/BUILD/postgresql-7.1.3/src/pl/tcl directory and then
copy that pltcl.so to /usr/lib/pgsql directory.
Not being a programmer (or overly bright person :), I don't know the
implications of that other than it got pltcl to load!
/shawn
-----Original Message-----
From: Rasmus Mohr [mailto:rmo@Netpointers.com]
Sent: Wednesday, March 20, 2002 1:20 AM
To: 'pgsql-admin@postgresql.org'
Subject: [ADMIN] Failure loading TCL/u
I've unsuccesfully tried loading TCL/u with the createlang command, every
time i get this error:
ERROR: Load of file /usr/lib/pgsql/pltcl.so failed:
/usr/lib/pgsql/pltcl.so: undefined symbol: Tcl_CreateSlave
createlang: language installation failed
Any suggestions?