pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Murray Prior Hobbs <murray@efone.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Brent Verner <brent@rcfile.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: pltlc and pltlcu problems
Date: Sun, 20 Jan 2002 18:57:37 +1100
Message-ID: <3C4A7871.7050600@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>
	<3C4937C1.9090905@efone.com>
	<14131.1011461791@sss.pgh.pa.us>


ok ok - so i went off and read a LOT about Tcl - cool what a nice tool

and then i downloaded the tcl/tk sources and built with appropriate 
configure options and installed it - in approprate places (in /usr/bin - 
over the old copies that were already there) and ran the tests and 
dowloaded some TCl samples and played with the apps

as i had been using the postgres 7.2 beta i reinstalled 7.13 over the 
top - right from the start, reconfigured, recompiled, reinstalled, 
reinitialised

and tried to call a tcl function yet again - but now i get this error

ERROR:  pltcl: internal error - cannot create 'normal' interpreter

but hmm, that's further than i got before and at least the database does 
not restart itself in the process

and in the code i have got one step further

any clues?

murray

        if ((pltcl_hold_interp = Tcl_CreateInterp()) == NULL)
        {
                elog(ERROR, "pltcl: internal error - cannot create 'hold' "
                         "interpreter");
        }

        /************************************************************
         * Create the two interpreters
         ************************************************************/
        if ((pltcl_norm_interp =
                 Tcl_CreateSlave(pltcl_hold_interp, "norm", 0)) == NULL)
        {
                elog(ERROR,
                   "*pltcl: internal error - cannot create 'normal' interpreter*");
        }







murray






Tom Lane wrote:

>Murray Prior Hobbs <murray@efone.com> writes:
>
>>maybe this is a dumb question
>>but are not all the tcl sources part of the source distribution?
>>
>
>I'm only going to say this one more time: Tcl is not part of Postgres.
>
>pltcl depends on libtcl (note difference), and the loader is evidently
>not finding libtcl.so.  Which will absolutely NOT be in
>/usr/lib/postgresql.  The question for you is where it actually lives
>(if it's installed at all), and next why the dynamic loader search path
>isn't finding it.
>
>			regards, tom lane
>
>---------------------------(end of broadcast)---------------------------
>TIP 5: Have you checked our extensive FAQ?
>
>http://www.postgresql.org/users-lounge/docs/faq.html
>

view thread (27+ messages)  latest in thread

Message-ID: <3C4A7871.7050600@efone.com>
Permalink:  ../3C4A7871.7050600@efone.com/
Also on:    postgresql.org/message-id/3C4A7871.7050600@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, tgl@sss.pgh.pa.us, brent@rcfile.org
  Subject: Re: pltlc and pltlcu problems
  In-Reply-To: <3C4A7871.7050600@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