Re: createlang pltcl mydb fails...

From: "Hawke Robinson" <hawke(dot)robinson(at)Mightywords(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: createlang pltcl mydb fails...
Date: 2001-09-26 16:48:59
Message-ID: 080601A7E1E43849B16592D2098E5FAA8EDF01@mwnsrv01.Mightywords.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Additional, how odd ,this didn't happen before, but if I remove, and
then reinstall the postgresql-tcl rpm, I get teh following (same)
error...
rpm -i postgresql-tcl-7.1.3-4.i386.rpm
ERROR: Load of file /usr/lib/pgsql/pltcl.so failed:
/usr/lib/pgsql/pltcl.so: undefined symbol: Tcl_CreateSlave
createlang: language installation failed
ERROR: Unrecognized language specified in a CREATE FUNCTION: 'pltcl'.
Recognized languages are sql, C, internal, and created
procedural languages.

What the heck is going on here?
I really don't want to have to use all source files for everything
unless there's no other option.
Here's the relevant pieces of the env for the postgres user:
bash-2.04$ env | grep PG
PGINC=/usr/include/pgsql
PGLIB=/usr/lib/pgsql
PGDATA=/var/lib/pgsql/data
LD_LIBRARY_PATH=:/usr/lib/pgsql


Thanks,
-Hawke

-----Original Message-----
From: Hawke Robinson
Sent: Wednesday, September 26, 2001 9:19 AM
To: pgsql-novice(at)postgresql(dot)org
Subject: [NOVICE] createlang pltcl mydb fails...

The following happens:
bash-2.04$ createlang pltcl acs
ERROR: Load of file /usr/lib/pgsql/pltcl.so failed:
/usr/lib/pgsql/pltcl.so: undefined symbol: Tcl_CreateSlave
createlang: language installation failed

RH 7.1 with updates.
Postgresql 7.1.3-4 (rpms)
All the following RPM's installed:
postgresql-7.1.3-4.i386.rpm postgresql-perl-7.1.3-4.i386.rpm
postgresql-contrib-7.1.3-4.i386.rpm postgresql-python-7.1.3-4.i386.rpm
postgresql-devel-7.1.3-4.i386.rpm postgresql-server-7.1.3-4.i386.rpm
postgresql-jdbc-7.1.3-4.i386.rpm postgresql-tcl-7.1.3-4.i386.rpm
postgresql-libs-7.1.3-4.i386.rpm postgresql-tk-7.1.3-4.i386.rpm
postgresql-odbc-7.1.3-4.i386.rpm

What am I missing/doing wrong?
Thanks,
-Hawke
MightyWords Inc.
www.mightywords.com
"The only thing I know is that I know nothing" - Socrates
I am enough of an artist to draw freely upon my imagination. Imagination

is more important than knowledge. Knowledge is limited. Imagination
encircles the world." - Albert Einstein
"All truth passes through 3 stages. First, it is ridiculed. Second, it
is violently opposed. Third, it is accepted as being self-evident."
--Arthur Schopenhauer
All the knowledge I possess everyone else can acquire, but my heart is
all my own." - Goethe

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2001-09-26 18:08:28 Re: Index not used for simple query, and yes I ran vacuum analyze
Previous Message Hawke Robinson 2001-09-26 16:19:19 createlang pltcl mydb fails...