[CVALE] Problem With Shared Library On Debian

Steven Hollingsworth steven at aznc.com
Tue Sep 4 10:44:13 PDT 2007


On Tue, Sep 04, 2007 at 10:26:16AM -0700, Landon Blake wrote:
>[snip]
> 
> "error while loading shared libraries: libgtk-x11-2.0.so.0: cannot
> open shared object file: No such file or directory"
> 
> I've never had trouble running Eclipse before, although they may have
> added a dependency to this library in the latest version. I looked
> online for a libgtk-x11-2.0 deb, but I couldn't find one.

I'd try using strace in this instance.

i.e.

$ > strace -f -o strace.dump.file Eclipse_or_whatever_binary

After it's done exiting browse the strace dump file to see where it's
having trouble finding the libraries. My libraries are located here.

/usr/lib/libgtk-x11-2.0.so.0

which belong to package (I'm using gentoo, but the package name should
pretty much be the same)

x11-libs/gtk+-2.10.13 


Once you look through the trace file and see where it's having trouble
i.e. "file not found" you may have to do a soft link.

ln -s /usr/lib/libgtk-x11-2.1.0
/usr/lib/__to_whatever_file_the_trace_expects

> Has anyone else had this problem? Can anyone give me some suggestions
> on how to fix it?
> 
> P.S. - I'm running the latest version of Debian testing and I was
> trying to use the Europa build of Eclipse.


HTH,

~ stevo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fire2wire.com/pipermail/cvale/attachments/20070904/6ed5dfe4/attachment.bin


More information about the cvale mailing list