pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Dinesh Pandey <dpandey@secf.com>
Cc: 'PostgreSQL' <pgsql-sql@postgresql.org>
Subject: Re: createlang 'pltclu' with postgreSQL.
Date: Wed, 6 Apr 2005 09:43:40 -0600
Message-ID: <20050406154340.GA96591@winnie.fuhr.org> (raw)
In-Reply-To: <20050406141132.68F17539E2@svr1.postgresql.org>
References: <20050406141132.68F17539E2@svr1.postgresql.org>

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/



view thread (5+ messages)  latest in thread

Message-ID: <20050406154340.GA96591@winnie.fuhr.org>
Permalink:  ../20050406154340.GA96591@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050406154340.GA96591@winnie.fuhr.org

 · 

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: mike@fuhr.org, dpandey@secf.com
  Subject: Re: createlang 'pltclu' with postgreSQL.
  In-Reply-To: <20050406154340.GA96591@winnie.fuhr.org>

* 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