spungcl9k
spungcl9k

Reputation: 1

libtcl8.4.so and libtk8.4.so are missing

When I was trying to execute tcl scripts with blt and wish, I encouter the following errors:

blt:

[user@centos-linux ~]$ bltsh
bltsh: error while loading shared libraries: libtcl8.4.so: cannot open shared object file: No such file or directory

wish:

[user@centos-linux NEW]$ ./Tide.tcl > NUL
/usr/local/bin/bltwish: error while loading shared libraries: libtk8.4.so: cannot open shared object file: No such file or directory

I have already installed tcl and tk 8.4.9, and blt from ftp://ftp.ccp4.ac.uk/tcltk/TclTk-8.4/README.html with the packag tcltkblt-8.4.9.i386.bin.tar.gz.

It seems that libtcl8.4.so and libtk8.4.so are missing. I wonder if these errors can be fixed simply by installing libtcl8.4 and libtk8.4 on CentOS 7.5 and how?

I cannot find a way to install libtcl8.4.9 and libtk8.4.9. On the other hand, I cannot upgrade to tcl/tk 8.5 or 8.6 since the scripts require me to run tcl/tk 8.4.

Upvotes: 0

Views: 4503

Answers (1)

kostix
kostix

Reputation: 55483

I have already installed tcl and tk 8.4.9, and blt from <…> with the packag tcltkblt-8.4.9.i386.bin.tar.gz.

I doubt the "tcltkblt-8.4.9.i386.bin.tar.gz" package has really installed Tcl and Tk—I bet it merely instaled the BLT package.

Searching this list of packages for "tcl-8" reveals that CentOS 7 has only Tcl and Tk 8.5 packaged, not 8.4.

As 8.4 is dirt-old, I'd suggest taking another route and working towards getting BLT built against Tcl 8.5.

Doing a usual search routine yields this package. Please read the "Install Howto" on that page and proceed accordingly.

Also please make sure to remove the BLT package you have already installed.

Upvotes: 1

Related Questions