Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97018 - azureus from the azuerus-bin ebuild fails to load libXm.so2 motif library
Summary: azureus from the azuerus-bin ebuild fails to load libXm.so2 motif library
Status: RESOLVED DUPLICATE of bug 90340
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-25 01:51 UTC by Maciek Gajewski
Modified: 2005-07-06 01:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciek Gajewski 2005-06-25 01:51:41 UTC
The uglu azureus-motif from azureus-bin ebuild faisl to run, becouse it can not
find libXm.so.2 shared library. The openmotif installed provides only
libXm.so.3->libXm.so.3.0.2 libs.
Quick fix: symlink libXm.so.2->libXm.so.3.

my motif version: openmotif-2.2.3-r7
my java version: blackdown-jdk-1.4.2.01-r2

Error messages:
Attempting to start Azureus...
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/usr/lib/azureus/libswt-motif-3106.so: libXm.so.2: cannot open shared object
file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
        at org.eclipse.swt.internal.motif.OS.<clinit>(OS.java:20)
        at org.eclipse.swt.graphics.Device.<clinit>(Device.java:89)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:75)
        at
org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:58)
        at
org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:107)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:71)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:98)


Reproducible: Always
Steps to Reproduce:
1.emerge azureus-bin
2.azureus
3.that's all, folks!

Actual Results:  
Attempting to start Azureus...
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/usr/lib/azureus/libswt-motif-3106.so: libXm.so.2: cannot open shared object
file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
        at org.eclipse.swt.internal.motif.OS.<clinit>(OS.java:20)
        at org.eclipse.swt.graphics.Device.<clinit>(Device.java:89)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:75)
        at
org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:58)
        at
org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:107)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:71)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:98)


Expected Results:  
Azureus working nice

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 AMD Duron(tm) processor
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl/"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acl acpi alsa apm arts audiofile avi bash-completion berkdb
bitmap-fonts bluetooth bzlib cdr crypt cups curl divx4linux dvd dvdr emboss
encode fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gpm gtk2 hal iconv
imagemagick imlib ipv6 java joystick jpeg kde libg++ libwww mad mikmod motif
mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl plugin png
python qt quicktime readline samba sdl slang spell ssl svg svga tcpd tetex tiff
truetype truetype-fonts type1-fonts usb videos vorbis win32codecs wmf x86 xine
xml xml2 xmms xv zeroconf zlib linguas_pl linguas_en userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-06-25 16:58:04 UTC
libXm.so.2 is from lesstif. Just symlinking one lib to another hides a problem,
but doesn't solve it.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2005-07-06 01:55:58 UTC

*** This bug has been marked as a duplicate of 90340 ***