[Mozswing] Unable to load library 'gtk-x11-2.0'
Marcus Sundman
sundman at iki.fi
Fri Sep 5 08:15:11 PDT 2008
Marcus Sundman <sundman at iki.fi> wrote:
> My mozswing dies with a linking error on a computer that should be
> more or less equivalent to one on which it works [...]:
> java.lang.UnsatisfiedLinkError: Unable to load library 'gtk-x11-2.0':
> libgtk-x11-2.0.so: cannot open shared object file: No such file or
> directory
I've resolved this by creating a symlink to the lib in question:
# cd /usr/lib
# ln -s libgtk-x11-2.0.so.0 libgtk-x11-2.0.so
I have no idea why it looks for "libgtk-x11-2.0.so" instead of
"libgtk-x11-2.0.so.0", and it works on all other computers I've tried it
on without that symlink. Oh, well, at least I got it working.
- Marcus
More information about the Mozswing
mailing list