Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Error in loading share library  libgtk-x11-2.0.so., share library error< Next Oldest | Next Newest >
ckli6 Offline





Group: Members
Posts: 3
Joined: Aug. 2005
Posted: Aug. 31 2005,02:55 QUOTE

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!
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 31 2005,03:29 QUOTE

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


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
ckli6 Offline





Group: Members
Posts: 3
Joined: Aug. 2005
Posted: Aug. 31 2005,16:15 QUOTE

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
Back to top
Profile PM 
SaidinUnleashed Offline





Group: Members
Posts: 1428
Joined: Mar. 2004
Posted: Aug. 31 2005,18:25 QUOTE

Have you tried installing the gtk2.dsl?

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

-J.P.


--------------
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, cause if you play it forwards, it installs Windows.

Unleash the power of the TILDE~~~
Back to top
Profile PM AOL MSN YIM 
3 replies since Aug. 31 2005,02:55 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Error in loading share library  libgtk-x11-2.0.so.

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code