pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Murray Prior Hobbs <murray@efone.com>
To: Brent Verner <brent@rcfile.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: pltlc and pltlcu problems
Date: Sat, 19 Jan 2002 19:40:32 +1100
Message-ID: <3C493100.2070905@efone.com> (raw)
References: <web-622700@davinci.ethosmedia.com>
	<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>


i have had no trouble loading and using the pgpgsql language - and it 
lives in exactly the same place

i've done as you suggested though - here is the output

[murray@localhost dbSources]$ ldd /usr/lib/postgresql/pltcl.so
        libdl.so.2 => /lib/libdl.so.2 (0x40020000)
        libm.so.6 => /lib/i686/libm.so.6 (0x40024000)
        libc.so.6 => /lib/i686/libc.so.6 (0x40047000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

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?






view thread (27+ messages)  latest in thread

Message-ID: <3C493100.2070905@efone.com>
Permalink:  ../3C493100.2070905@efone.com/
Also on:    postgresql.org/message-id/3C493100.2070905@efone.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: murray@efone.com, brent@rcfile.org
  Subject: Re: pltlc and pltlcu problems
  In-Reply-To: <3C493100.2070905@efone.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox