Re: pltlc and pltlcu problems
От | Murray Prior Hobbs |
---|---|
Тема | Re: pltlc and pltlcu problems |
Дата | |
Msg-id | 3C4A7871.7050600@efone.com обсуждение исходный текст |
Ответ на | Re: UPDATE Query problem ("Josh Berkus" <josh@agliodbs.com>) |
Список | pgsql-sql |
<br /> ok ok - so i went off and read a LOT about Tcl - cool what a nice tool<br /><br /> and then i downloaded the tcl/tksources and built with appropriate configure options and installed it - in approprate places (in /usr/bin - over theold copies that were already there) and ran the tests and dowloaded some TCl samples and played with the apps <br /><br/> 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<br /><br /> and tried to call a tcl function yet again - but now i get this error<br/><br /><pre>ERROR: pltcl: internal error - cannot create 'normal' interpreter</pre> but hmm, that's further thani got before and at least the database does not restart itself in the process<br /><br /> and in the code i have gotone step further<br /><br /> any clues?<br /><br /> murray<br /><pre> if ((pltcl_hold_interp = Tcl_CreateInterp())== NULL)<br /> {<br /> elog(ERROR, "pltcl: internal error - cannot create 'hold'"<br /> "interpreter");<br /> }<br /><br /> /************************************************************<br/> * Create the two interpreters<br /> ************************************************************/<br/> if ((pltcl_norm_interp =<br /> Tcl_CreateSlave(pltcl_hold_interp, "norm", 0)) == NULL)<br /> {<br /> elog(ERROR,<br /> "<b>pltcl: internal error - cannot create 'normal' interpreter</b>");<br /> }<br /><br /><br /><br /></pre><br/><br /><br /><br /> murray<br /><br /><br /><br /><br /><br /><br /> Tom Lane wrote:<br /><blockquote cite="mid:14131.1011461791@sss.pgh.pa.us"type="cite"><pre wrap="">Murray Prior Hobbs <a class="moz-txt-link-rfc2396E" href="mailto:murray@efone.com"><murray@efone.com></a>writes:<br /></pre><blockquote type="cite"><pre wrap="">maybethis is a dumb question<br />but are not all the tcl sources part of the source distribution?<br /></pre></blockquote><prewrap=""><br />I'm only going to say this one more time: Tcl is not part of Postgres.<br /><br />pltcldepends on libtcl (note difference), and the loader is evidently<br />not finding libtcl.so. Which will absolutelyNOT be in<br />/usr/lib/postgresql. The question for you is where it actually lives<br />(if it's installed atall), and next why the dynamic loader search path<br />isn't finding it.<br /><br /> regards, tom lane<br /><br/>---------------------------(end of broadcast)---------------------------<br />TIP 5: Have you checked our extensiveFAQ?<br /><br /><a class="moz-txt-link-freetext" href="http://www.postgresql.org/users-lounge/docs/faq.html">http://www.postgresql.org/users-lounge/docs/faq.html</a><br /><br/></pre></blockquote><br /><br />
В списке pgsql-sql по дате отправления: