LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-28-2004, 11:04 PM   #1
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Question Cannot load libtk.so.0


I have begun using WordNet as a command-line dictionary, but I wanted to use the graphical interface as well. When I tried running that, I got the following error:

Code:
wishwn: error while loading shared libraries: libtk.so.0: cannot open shared object file: No such file or directory
What do I need to do to fix this? By the way, a quick locate on libtk yields the following:

Code:
/usr/lib/libtk8.4.so
/usr/lib/libtk8.4.a
/usr/lib/libtkx.so
/usr/lib/libtk.a
/usr/lib/libtkstub8.4.a
/usr/lib/libtkx8.3.so
/usr/lib/libtk.so
/usr/lib/libtkx.a
/usr/lib/libtkx8.3.a
/usr/lib/libtkstub.a
Thanks!
 
Old 08-29-2004, 05:29 AM   #2
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
From the WordNet FAQ:
Quote:
3-4.) WordNet on Linux (RedHat 9.0, Mandrake 9.1, etc.) gives me 'shared libraries' errors

When trying to run wnb, if you receive the error:
wishwn: error while loading shared libraries: libtk.so.0:
cannot open shared object file: No such file or directory
you need to create some symbolic links. Some versions of Linux no longer have links for backwards compatibility that are necessary for running WordNet. Execute the following commands as root:
cd /usr/lib
ln -s libtk.so libtk.so.0
ln -s libtcl.so libtcl.so.0
(Note that the first argument to each command may require a version number. e.g. one user has reported that he needed the following commands instead:
cd /usr/lib
ln -s libtk8.4.so libtk.so.0
ln -s libtcl8.4.so libtcl.so.0)
 
Old 08-29-2004, 12:51 PM   #3
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
And I thought I read the FAQ, shame on me. Thanks.
 
Old 08-29-2004, 01:01 PM   #4
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KNOPPIX to load or not to load, quite the enigma... wolfster306 Linux - General 4 09-16-2005 05:16 AM
Missing libtk.8.4.so, what to do? daff Linux - Newbie 1 05-09-2005 04:03 PM
grub doesn't auto-load kernel, time/date auto-change, k3b cannot load kenji1903 Red Hat 16 03-27-2005 08:48 PM
rpm cant find libtcl or libtk but there is libtcl8.* arkamir Linux - Software 1 12-19-2003 03:13 PM
libtcl.so.0 libtk.so.0 are present but not detected aseedb Linux - Newbie 6 12-15-2003 10:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration