Received: from habanero.hesketh.net (habanero.hesketh.net [66.45.6.196]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0J8JRV56429 for ; Sat, 19 Jan 2002 03:19:27 -0500 (EST) (envelope-from brent@mutt.rcfile.org) Received: from mutt.rcfile.org (root@rdu57-26-120.nc.rr.com [66.57.26.120]) by habanero.hesketh.net (8.11.6/8.11.1) with ESMTP id g0J8JIJ13496; Sat, 19 Jan 2002 03:19:18 -0500 X-Received-From: brent@mutt.rcfile.org X-Delivered-To: pgsql-sql@postgresql.org X-Spam-Filter: check_local@habanero.hesketh.net by digitalanswers.org X-More-Information: http://spamfighter.hesketh.net Received: (from brent@localhost) by mutt.rcfile.org (8.11.6/8.11.6) id g0J8JHF83958; Sat, 19 Jan 2002 03:19:17 -0500 (EST) (envelope-from brent) Date: Sat, 19 Jan 2002 03:19:17 -0500 From: Brent Verner To: Murray Prior Hobbs Cc: pgsql-sql@postgresql.org Subject: Re: pltlc and pltlcu problems Message-ID: <20020119031917.A83905@rcfile.org> References: <3C482537.9040005@efone.com> <6420.1011366281@sss.pgh.pa.us> <3C48F172.60302@efone.com> <11962.1011413533@sss.pgh.pa.us> <3C49273E.8080307@efone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C49273E.8080307@efone.com> User-Agent: Mutt/1.3.19i X-muttrc: $Id: .muttrc,v 1.9 2002/01/02 07:04:49 brent Exp $ X-uname: FreeBSD 4.5-RC #7: Wed Jan 16 03:32:22 EST 2002 brent@mutt.rcfile.org:/usr/obj/usr/src/sys/MUTT X-Archive-Number: 200201/233 X-Sequence-Number: 6317 [2002-01-19 18:58] Murray Prior Hobbs said: | | Thanks tom but i think there's more to it | | error while loading shared libraries: /usr/lib/postgresql/pltcl.so: | undefined symbol: Tcl_CreateInterp | | as you can see it knows where the library is - what i think it's | complaining about is the undefined symbol | | so i do a grep through the sources and find the call - the only call - | but there's no function declaration in the sources | | i did follow your link and i had read the page before - i'm on RedHat | 7.2 so should not have needed to do that - but i did anyway - it made no | difference | | is there meant to be Tcl_CreateInterp anywhere in the sources? No. This is provided by the tcl library: bash$ grep Tcl_CreateInter /usr/include/tcl8.3/tclDecls.h EXTERN Tcl_Interp * Tcl_CreateInterp _ANSI_ARGS_((void)); The problem is, as Tom said, that your tcl library is not being found by the system's linker. Try this: bash$ ldd /usr/lib/postgresql/pltcl.so I suspect you'll see a line containing "not found". brent -- "Develop your talent, man, and leave the world something. Records are really gifts from people. To think that an artist would love you enough to share his music with anyone is a beautiful thing." -- Duane Allman