Re: pltlc and pltlcu problems

From: Murray Prior Hobbs <murray(at)efone(dot)com>
To: Brent Verner <brent(at)rcfile(dot)org>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: pltlc and pltlcu problems
Date: 2002-01-19 09:09:21
Message-ID: 3C4937C1.9090905@efone.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql


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?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message mlw 2002-01-19 14:02:43 Re: [NOVICE] Functions in C with Ornate Data Structures
Previous Message Murray Prior Hobbs 2002-01-19 08:40:32 Re: pltlc and pltlcu problems

Browse pgsql-sql by date

  From Date Subject
Next Message chester c young 2002-01-19 16:39:46 null = null
Previous Message Murray Prior Hobbs 2002-01-19 08:40:32 Re: pltlc and pltlcu problems