

-----Original Message-----
From: Dan Gowin 
Sent: Wednesday, December 09, 1998 10:05 AM
To: 'hacker@postgreSQL.org'
Subject: RE: [HACKERS] plTcl test failed


Constantin,
	Do a "find" for your Tcl libraries to find out if your Tcl
was installed correctly. Rerun the make for Tcl and do a "make install"
just in case. You might also want to run "ldconfig" to make sure
your libraries are registered correctly. Also, in the library
directories
check to make sure that your Tcl library links are symbolically
linked to the correct library version. You can check it by "cd"ing
to the directory and running "ls -las" to get the long listing with
links and where they go. If the links are incorrect you could
correct it with the following "ln -s libtcl8.0.so libtcl.so", assuming
"libtcl.so" is the correct link and "libtcl8.0.so" exists.

	It seams to me that "libtcl.so" symbolic link can't find the
file "libtcl8.0.so". And ether the "libtcl8.0.so" does not exist or
"libtcl.so" is linked incorrectly.

My two cents.
Dan Gowin

-----Original Message-----
From: Constantin Teodorescu [mailto:teo@flex.ro]
Sent: Wednesday, December 09, 1998 2:41 AM
To: PostgreSQL Hacker
Subject: [HACKERS] plTcl test failed


Got the latest Tcl/Tk 8.0.4 from scriptics, compiled it and installed it
with great success.
RedHat 5.2 i386, Pentium machine, kernel 2.0.36

All my tcl/tk applications are working fine but :

After compiling and installing pltcl packacge, trying to run the tests
got the error :

QUERY: insert into T_pkey1 values (1, 'key1-1', 'test key');
ERROR:  Load of file /usr/local/pgsql/lib/pltcl.so failed:
/lib/libtcl8.0.so: undefined symbol: stat  

Is there any other library that have to be manually added when compiling
pltcl, same way as crypt was ?
Or the error comes from tcl library ?

-- 
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA

Wed, 9 Dec 1998 10:38:30 -0500 
Dan Gowin <DGowin@avantec.net>
FW: [HACKERS] plTcl test failed