LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-07-2006, 12:17 PM   #1
Tim Slackware
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Rep: Reputation: 0
X Apps wont load - libgtk not found - on Older Computer with SW 10.2 running FluxBox


I have Slackware 10.2 installed on a Pentium 200 mhz with 32 megs of ram. I've gotten FluxBox working in 256 colour mode. When I run a console program or terminal, it works fine, but when I try to run any actual X Application like gaim, firefox, etc. nothing happens. Back in bash they all get the same error every time I try to run them:

gaim: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: no such file or directory

(It seems to be having trouble finding the GIMP Toolkit libraries)

I do not have GIMP installed (I have limited HD, and I have another much better computer I use for stuff like that). I did go back to the Slackware CD and installed/reinstalled all of the gtk and glib related libraries, but it didn't change anything.

I've also checked out www-dot-gtk-dot-org/download/, but I could not figure out which glib/gtk I needed. And I figured that I should already have the library I need, it's just in the wrong place or something?


Any help would be greatly appreciated,
Tim
 
Old 02-07-2006, 02:14 PM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
the package that brings that file is called gtk+2-2.6.10-i486-1 (it's on CD1) but the file is actually a link to a file with a longer name... here's what it looks like on my box, make sure you have the gtk+2 package installed and the link set:

Code:
bash-3.00# ls -l /usr/lib/libgtk-x11-2.0.so.0
lrwxrwxrwx  1 root root 26 2005-09-30 10:33 /usr/lib/libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.600.10

bash-3.00# ls -l /usr/lib/libgtk-x11-2.0.so.0.600.10 
-rwxr-xr-x  1 root root 2952484 2005-09-10 14:03 /usr/lib/libgtk-x11-2.0.so.0.600.10
just my ...
 
Old 02-07-2006, 04:11 PM   #3
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Yes, you need the GTK libraries, not GIMP.

What does "ls /var/log/packages/gtk*" show?
 
Old 02-08-2006, 06:01 PM   #4
Tim Slackware
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks win32sux! I did not have the link file. I re-installed gtk+2-2.6.10-i486-1, and a couple other libraries I also needed. I don't know why it didnt work the first 2 times I installed them. Works now though.

MS3FGX - It lists that link file with info, so it let's you know if you have the link.

PEACE,
Tim
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Help! My computer wont stay running. Shuts down after X amount of time. The_Nerd Linux - Hardware 10 04-07-2005 01:43 AM
Removed redhat from system and computer wont load in XP lukegt Red Hat 1 01-15-2005 10:13 PM
Help! Running IglooFTP-PRO : error: does not find libgtk-x11-2.0.so.0 asaba Linux - Software 0 11-02-2004 11:36 AM
running kde apps in fluxbox bingbang Linux - Newbie 2 05-01-2004 11:10 AM
running apps at fluxbox startup A1Ph4 Linux - Software 1 08-25-2003 06:36 PM


All times are GMT -5. The time now is 05:58 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration