Received: from wombat.efone.com.au ([203.89.233.66]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0J8xwV61075 for ; Sat, 19 Jan 2002 03:59:59 -0500 (EST) (envelope-from murray@efone.com) Received: from efone.com ([202.138.193.106]) by wombat.efone.com.au (8.11.6/8.11.6) with ESMTP id g0J8wKQ00656; Sat, 19 Jan 2002 19:58:20 +1100 Message-ID: <3C4937C1.9090905@efone.com> Date: Sat, 19 Jan 2002 20:09:21 +1100 From: Murray Prior Hobbs Organization: eFone International Pty Ltd User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901 X-Accept-Language: en-us MIME-Version: 1.0 To: Brent Verner CC: pgsql-sql@postgresql.org Subject: Re: pltlc and pltlcu problems 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> <20020119031917.A83905@rcfile.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200201/235 X-Sequence-Number: 6319 maybe this is a dumb question but are not all the tcl sources part of the source distribution? like - am i to assume then that there are binaries in the distribution for which there is no code? like - if i go looking for somethng in the code should not i find it? murray Brent Verner wrote: > >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 > [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?