Re: createlang 'pltclu' with postgreSQL. - Mailing list pgsql-sql

From Michael Fuhr
Subject Re: createlang 'pltclu' with postgreSQL.
Date
Msg-id 20050406154340.GA96591@winnie.fuhr.org
Whole thread Raw
In response to createlang 'pltclu' with postgreSQL.  ("Dinesh Pandey" <dpandey@secf.com>)
Responses Re: createlang 'pltclu' with postgreSQL.  ("Dinesh Pandey" <dpandey@secf.com>)
Re: createlang 'pltclu' with postgreSQL.  ("Dinesh Pandey" <dpandey@secf.com>)
List pgsql-sql
On Wed, Apr 06, 2005 at 07:39:02PM +0530, Dinesh Pandey wrote:
> 
> I have already installed Postgres 8.0.1.

How did you install PostgreSQL?  Did you build it from source?

> $ createlang pltclu testdb
> ERROR:  could not access file "$libdir/pltcl": No such file or directory
> createlang: language installation failed: ERROR:  could not access file
> "$libdir/pltcl": No such file or directory

If you built from source, did you run configure with --with-tcl?

> I have installed "tk-8.4.9-sol9-sparc-local.gz" and
> "tcl-8.4.9-sol9-sparc-local.gz" file using pkgadd -d command.
> Any othe configuration required????

When I build PostgreSQL on Solaris 9, I run configure with the
following options (amongst others not shown):

configure --with-tcl --with-tclconfig=/usr/local/lib

Try rebuilding and reinstalling PostgreSQL with those options and
see if you can then createlang pltclu.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/


pgsql-sql by date:

Previous
From: T E Schmitz
Date:
Subject: TIMESTAMP / summertime
Next
From: "Dinesh Pandey"
Date:
Subject: Re: createlang 'pltclu' with postgreSQL.