Re: createlang 'pltclu' with postgreSQL.

From: "Dinesh Pandey" <dpandey(at)secf(dot)com>
To: "'Michael Fuhr'" <mike(at)fuhr(dot)org>
Cc: "'PostgreSQL'" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: createlang 'pltclu' with postgreSQL.
Date: 2005-04-06 15:59:36
Message-ID: 20050406160212.EA852534F1@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

1. I installed with compiled package using "pkgadd -d
postgresql-8.0.1-sol9-sparc-local"

2. I haven't used --with-tcl?

Thanks
Dinesh Pandey

-----Original Message-----
From: pgsql-sql-owner(at)postgresql(dot)org [mailto:pgsql-sql-owner(at)postgresql(dot)org]
On Behalf Of Michael Fuhr
Sent: Wednesday, April 06, 2005 9:14 PM
To: Dinesh Pandey
Cc: 'PostgreSQL'
Subject: Re: [SQL] createlang 'pltclu' with postgreSQL.

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/

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Dinesh Pandey 2005-04-06 16:22:58 FW: createlang 'pltclu' with postgreSQL.
Previous Message Dinesh Pandey 2005-04-06 15:48:47 Re: createlang 'pltclu' with postgreSQL.