Thread: 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? -------------------------------------------------------------- Rasmus T. Mohr Direct : +45 36 910 122 Application Developer Mobile : +45 28 731 827 Netpointers Intl. ApS Phone : +45 70 117 117 Vestergade 18 B Fax : +45 70 115 115 1456 Copenhagen K Email : mailto:rmo@netpointers.com Denmark Website : http://www.netpointers.com "Remember that there are no bugs, only undocumented features." --------------------------------------------------------------
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?
Sorry, I forgot to specify which OS. Yes it's RH 7.2, and PostgreSQL 7.1.3. -----Oprindelig meddelelse----- Fra: Shawn Tagseth [mailto:Shawn.Tagseth@crystaldecisions.com] Sendt: 20. marts 2002 17:25 Til: Rasmus Mohr Emne: RE: [ADMIN] Failure loading TCL/u Redhat 7.2? -----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? -------------------------------------------------------------- Rasmus T. Mohr Direct : +45 36 910 122 Application Developer Mobile : +45 28 731 827 Netpointers Intl. ApS Phone : +45 70 117 117 Vestergade 18 B Fax : +45 70 115 115 1456 Copenhagen K Email : mailto:rmo@netpointers.com Denmark Website : http://www.netpointers.com "Remember that there are no bugs, only undocumented features." -------------------------------------------------------------- ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html