LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Amigo
User Name
Password
Amigo This forum is for the discussion of Amigo Linux.

Notices


Reply
  Search this Thread
Old 04-14-2005, 05:06 AM   #1
pacranch
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39

Rep: Reputation: 15
Cool libgtk-x11-2.0.so.0 problem


Hi Guys

Installed Gaim and FireFox, but when I try to run them I get this error:

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

There is a symbolic link in /usr/lib/ for it and a file called libgtk-x11-2.0.so.0.9.1 - and I'm stumped on how to fix this. It seems to be a fairly common problem (Google), but I've found nothing for SlackWare 9.1 on how to make Gaim and FireFox work.

Any and all help appreciated.

Mike (pacranch)
 
Old 04-14-2005, 04:33 PM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
DId you run 'ldconfig' after installing the libs?
 
Old 04-14-2005, 06:12 PM   #3
pacranch
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39

Original Poster
Rep: Reputation: 15
Question

Hi Gnashley

err, what lib's? All I did was find the tgz for Gaim (an older one for Slack 9.1) and FireFox (the current one, felt brave) and installed them, then got hit with the error when I tried to run them. What's really weird is that when I installed Gaim and got the error, I Googled and found lots of people saying that a current install of FireFox would fix the error. ***not true***

***scratches head and wonders***

Mike (pacranch)

PS: still need help on this

PSS: what's ldconfig and how do you use it?


Last edited by pacranch; 04-14-2005 at 06:22 PM.
 
Old 04-15-2005, 03:41 PM   #4
pacranch
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39

Original Poster
Rep: Reputation: 15
Unhappy



Just did a fresh install of Amigo and got that nasty libgtk-x11-2.0.so.0 error after installing Firefox (0.9 for Slackware 9.1). Is there some weird trick - remember I'm a newbie to Amigo and you might need to ***unfortunately*** spoonfeed stuff. How do I use ldconfig to fix whatever got broke to cause this error?

Mike (pacranch)
 
Old 04-16-2005, 12:02 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I#m not sure how you got that library in there...
Amigo-2.0 doesn't come with GTK2 installed.
Install these pkgs (minimum)
glib2
gtk+-2
atk
pango

For firefox you need to install the other X-11 font packages. Gaim may require some extra libs also, like the esd sound daemon package, or others.

About ldconfig: this is run automatically each time you boot, but you should run it manually after installing any new libraries, so they get found. What ldconfig does is scan 'trusted' library directories, like /usr/lib and consults the file /etc/ldso.conf which has a list of other library directories. All this info goes into the ldconfig cache, so that when a program calls for a library, 'ld' -the dynamic linker, consults the cache to see if the library is present on the system.

'ld' has another handy feature: 'ldd' which will test a binary to see which libs it needs, and tell you if they are present or not. You can use this like this:
Install your desired program, then run 'pkgtool' in an xterm and choose 'View list of files' and then choose the package you just installed. Scroll down through the list of installed files -look for the main executable, usually in /usr/bin/. This is mainly to know what the programs real name is, like mozilla-firefox.
Anyway, once you know the name, browse to that directory:
cd /usr/bin
and type:
ldd mozilla-firefox

You'll see a list of required libs for that binary- If any are missing it will say 'not found'.

Because of size considerations GTK2 was left out of Amigo-2.0. Search this forum for more discussion of libs and fonts for firefox, and on getting GTK2 programs working.
 
  


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
firefox and libgtk-x11-2.0.so.0 Beire Debian 4 11-04-2004 03:16 PM
Help! Running IglooFTP-PRO : error: does not find libgtk-x11-2.0.so.0 asaba Linux - Software 0 11-02-2004 10:36 AM
Problem installing Netscape 7.1 - libgtk-1.2.so.O abowling Linux - Software 0 12-12-2003 10:50 AM
libgtk+2.0_?? LinuxBAH Linux - Newbie 2 06-30-2003 05:07 AM
libgtk-x11 nautilus_1987 Linux - Software 8 09-22-2002 09:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Amigo

All times are GMT -5. The time now is 02:18 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
Open Source Consulting | Domain Registration