X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 76AE753497 for ; Wed, 6 Apr 2005 16:43:54 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 99211-05 for ; Wed, 6 Apr 2005 15:43:46 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id 47C4A534AD for ; Wed, 6 Apr 2005 16:43:45 +0100 (BST) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id j36FhfJW012571 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 6 Apr 2005 09:43:44 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.3/8.13.3) with ESMTP id j36FhfTJ007015; Wed, 6 Apr 2005 09:43:41 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.3/8.13.3/Submit) id j36FheSr007014; Wed, 6 Apr 2005 09:43:41 -0600 (MDT) (envelope-from mfuhr) Date: Wed, 6 Apr 2005 09:43:40 -0600 From: Michael Fuhr To: Dinesh Pandey Cc: "'PostgreSQL'" Subject: Re: createlang 'pltclu' with postgreSQL. Message-ID: <20050406154340.GA96591@winnie.fuhr.org> References: <20050406141132.68F17539E2@svr1.postgresql.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050406141132.68F17539E2@svr1.postgresql.org> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/57 X-Sequence-Number: 20950 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/