Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help! I'm having problems loading expect with TCL

Status
Not open for further replies.

NDVince

Programmer
May 14, 2002
1
US
Hello, I've tried TCL 8.3.4 and 8.3.3 with expect versions 5.3.1 and 5.3.7, and everytime I try to run expect I get this error:

117/usr/local/bin>expect
ld.so.1: expect: fatal: libtcl8.3.so: open failed: No such file or directory
Killed

TCL seems to work fine by itself (running tclsh) but expect fails every time. libtcl8.3.so is located in /usr/local/lib as I believe it should be.. Is there a way to retry the install with a clean state? Is there something else wrong that I need to be thinking about? I've tried reinstalling several times with no success. Any input would be appreciated. thanks!
 
Just a guess, but a few things I'd check:

- check the LD_LIBRARY_PATH and PATH environment variables. Mine look like:

LD_LIBRARY_PATH=/var/pkg/TclPro1.4/solaris-sparc/lib:(other entries)
PATH=/var/pkg/TclPro1.4/solaris-sparc/bin:(other entries)


-are you sure the file in "/usr/local/lib" is actualyl called "libtcl8.3.so"? I seem to remember cases where it was named just "libtcl.so".

Hope this helps - someone more adept may have a better answer, though!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top