Re: Createlang Pltclu failed

From: suresh s <sureshatwork(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Createlang Pltclu failed
Date: 2002-11-29 05:57:18
Message-ID: 20021129055718.77748.qmail@web14607.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Error: Load of file /usr/lib/pgsql/pltcl.so
failed:
> /usr/lib/pgsql/pltcl.so:
> Undefined symbol: Tcl_CreateSlave
> Createlang: language installation failed

u have to define a handler for the the language

these are the supported languages
'plpgsql', 'pltcl', 'pltclu', and 'plperl'.

run this script at postgres
---------------------------
CREATE FUNCTION pltcl_call_handler () RETURNS opaque
AS '/usr/lib/pgsql/pltcl.so'
LANGUAGE 'C';

CREATE PROCEDURAL LANGUAGE 'pltcl'
HANDLER pltcl_call_handler
LANCOMPILER 'PL/tcl';

this should solve the problem

suresh

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

In response to

  • Re: cvs at 2002-11-28 18:28:04 from Neil Conway

Browse pgsql-general by date

  From Date Subject
Next Message suresh s 2002-11-29 07:16:24 Help me in Database Versioning
Previous Message suresh s 2002-11-29 05:53:47 Re: Createlang Pltclu failed