Thread: createlang 'pltclu' with postgreSQL.

createlang 'pltclu' with postgreSQL.

From
"Dinesh Pandey"
Date:
<p><font face="Verdana" size="2">Hi,</font><p><font face="Verdana" size="2">I have already installed Postgres
8.0.1.</font><br/><font face="Verdana" size="2">I am able to use pl/pgsql language but...I want to use language
'<b>pltclu</b>'with postgreSQL. Its unable to find "pltcl".</font><p><font face="Verdana" size="2">I am getting this
error.</font><p><b><fontcolor="#FF0000" face="Verdana" size="2">$ createlang pltclu testdb</font></b><br /><font
color="#FF0000"face="Verdana" size="2">ERROR:  could not access file "$libdir/pltcl": No such file or
directory</font><br/><font color="#FF0000" face="Verdana" size="2">createlang: language installation failed: ERROR: 
couldnot access file "$libdir/pltcl": No such file or directory</font><p><font face="Verdana" size="2">Where this file
"$libdir/pltcl"can be found????</font><p><font face="Verdana" size="2">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.</font><br /><font face="Verdana" size="2">Any othe
configurationrequired????</font><p><font face="Verdana" size="2">Regards<br /> Dinesh Pandey</font><font face="Times
NewRoman"><br /></font> 

Re: createlang 'pltclu' with postgreSQL.

From
Michael Fuhr
Date:
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/


Re: createlang 'pltclu' with postgreSQL.

From
"Dinesh Pandey"
Date:

Hi Mike,

Have you installed tcl and tk before popstgres installation and set some PATH for that before installing postgres.

Because I installed  "tk-8.4.9-sol9-sparc-local.gz" and "tcl-8.4.9-sol9-sparc-local.gz" after postgres installation.

Can I use "configure --with-tcl --with-tclconfig=/usr/local/lib" this command now??

What is "/usr/local/lib" - Path of TCL or Path of Postgres installation??

Thanks
Dinesh Pandey

 
 



-----Original Message-----
From: Michael Fuhr [mailto:mike@fuhr.org]
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/

Re: createlang 'pltclu' with postgreSQL.

From
"Dinesh Pandey"
Date:
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@postgresql.org [mailto:pgsql-sql-owner@postgresql.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