Error in loading share library  libgtk-x11-2.0.so.


Forum: Other Help Topics
Topic: Error in loading share library  libgtk-x11-2.0.so.
started by: ckli6

Posted by ckli6 on Aug. 31 2005,02:55
Hi,

When starting an applicaion written in RealBasic or starting RealBasic in DSL, I got the following error: Error while loading share libraries libgtk-x11-2.0.so.0:cannot open share object file. No such file or directory.

I've the same app and RealBasic in Fedora without any problem. I've checked in Fedora and found that the above file should reside in /use/lib which I couldn't find in DSL.

My question is: Does any one know how to get this library installed in DSL?

Many Thanks!

Posted by mikshaw on Aug. 31 2005,03:29
Just copy the file from Fedora to DSL...it will almost definitely work.  It doesn't necessarily need to be in the exact same lib directory in both systems, just as long as the target directory is listed in /etc/ld.so.conf.

A quick way to find out exactly what libs are missing for a particular program, use the command
ldd /path/to/command

If you are running a liveCD or Frugal with read-only lib directories, you can create a lib dir in /opt, put the library file(s) in that, and start the program with
LD_LIBRARY_PATH=/opt/lib /path/to/command

Posted by ckli6 on Aug. 31 2005,16:15
Hi Mike,

Thanks for the pointer. I've indeed tried using ldd to find out what libraries were missing and copied them from Fedora to DSL in the respective directories.

However, there is still one item that I have problem with. The file is libc.so.6 which is a symbolic link, in Fedora, it points to
libc-2.3.5 where in DSL, it points to libc-2.3.2. If I replaced libc-2.3.2 with libc-2.3.5, DSL simply wouldn't boot. And in my original post, the libgtk-x11.0.so.0 actually requires libc-2.3.5.

Do you have an idea what exact this libc-2-3.5 s? And any suggestion how to resolve this problem?

Many Thanks..
CK

Posted by SaidinUnleashed on Aug. 31 2005,18:25
Have you tried installing the gtk2.dsl?

It should contain all of the libraries you need, compiled for DSL.

-J.P.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.