Amigo This forum is for the discussion of Amigo Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-14-2005, 06:06 AM
|
#1
|
Member
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39
Rep:
|
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)

|
|
|
04-14-2005, 05:33 PM
|
#2
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928
|
DId you run 'ldconfig' after installing the libs?
|
|
|
04-14-2005, 07:12 PM
|
#3
|
Member
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39
Original Poster
Rep:
|
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 07:22 PM.
|
|
|
04-15-2005, 04:41 PM
|
#4
|
Member
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39
Original Poster
Rep:
|
|
|
|
04-16-2005, 01:02 AM
|
#5
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928
|
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.
|
|
|
All times are GMT -5. The time now is 06:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|