Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81324 - azureus-bin will not run on amd64 system. problem with libswt-pi-gtk-3062.so
Summary: azureus-bin will not run on amd64 system. problem with libswt-pi-gtk-3062.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-08 21:29 UTC by Ben Jackson
Modified: 2005-07-11 10:54 UTC (History)
1 user (show)

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 Ben Jackson 2005-02-08 21:29:32 UTC
after emerge of azureus-bin (v. 2.1.0.4 - 'stable' on this system), azureus will not start, giving the following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/azureus/libswt-pi-gtk-3062.so: /usr/lib/azureus/libswt-pi-gtk-3062.so: cannot open shared object file: No such file or directory

Reproducible: Always
Steps to Reproduce:
1. emerge azureus-bin
2. java-config --add-system-classpath=junit,log4j,commons-cli-1
3. env-update && source /etc/profile
3. azureus

Actual Results:  
Attempting to start Azureus...
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/usr/lib/azureus/libswt-pi-gtk-3062.so: /usr/lib/azureus/libswt-pi-gtk-3062.so:
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.gtk.OS.<clinit>(OS.java:19)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:118)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:58)
        at
org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:45)
        at
org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:70)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:64)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:104)
If you recieved an error about a missing java class, you need to setup
your classpath correctly.
This should do the trick (as root):
java-config --add-system-classpath=junit,log4j,commons-cli,systray4j
env-update && source /etc/profile

Currently, your classpath (including azureus additions) is:
swt.jar:swt-pi.jar:swt-mozilla.jar:seda.jar:Azureus2.jar:/usr/share/junit/lib/junit.jar:/usr/share/log4j/lib/log4j.jar:/usr/share/commons-cli-1/lib/commons-cli.jar:.


Expected Results:  
should have run!

the file requested exists:

------
# ls /usr/lib/azureus/libswt-pi-gtk-3062.so
/usr/lib/azureus/libswt-pi-gtk-3062.so
------

and seems to be understandable:

------
uber bittorrent # ldd /usr/lib/azureus/libswt-pi-gtk-3062.so
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x0000002a956b7000)
       libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x0000002a95ac9000)
       libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x0000002a95c4d000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0
(0x0000002a95d6e000)
        libm.so.6 => /lib/libm.so.6 (0x0000002a95e85000)
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x0000002a9600c000)
        libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x0000002a96111000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x0000002a9621d000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x0000002a9635f000)
       libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x0000002a964a3000)
       libdl.so.2 => /lib/libdl.so.2 (0x0000002a965a6000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x0000002a966aa000)
       libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x0000002a967ae000)
        libXtst.so.6 => /usr/lib/libXtst.so.6 (0x0000002a96937000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x0000002a96a3e000)
        libc.so.6 => /lib/libc.so.6 (0x0000002a96bd3000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x0000002a96df9000)
        libXrandr.so.2 => //usr/lib/libXrandr.so.2 (0x0000002a96fdb000)
        libXi.so.6 => //usr/lib/libXi.so.6 (0x0000002a970de000)
        libXinerama.so.1 => //usr/lib/libXinerama.so.1 (0x0000002a971e6000)
        libXft.so.2 => //usr/lib/libXft.so.2 (0x0000002a972e9000)
        libfreetype.so.6 => //usr/lib/libfreetype.so.6 (0x0000002a973fd000)
        libfontconfig.so.1 => //usr/lib/libfontconfig.so.1 (0x0000002a97586000)
        libXcursor.so.1 => //usr/lib/libXcursor.so.1 (0x0000002a976ba000)
        libXrender.so.1 => //usr/lib/libXrender.so.1 (0x0000002a977c4000)
        libXext.so.6 => //usr/lib/libXext.so.6 (0x0000002a978cd000)
        libpangoft2-1.0.so.0 => //usr/lib/libpangoft2-1.0.so.0 (0x0000002a979df000)
        /lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x0000002a97b09000)
        libz.so.1 => /lib/libz.so.1 (0x0000002a97c2d000)
------

here is my emerge info fyi:

------
# emerge info
Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10 x86_64)
=================================================================
System uname: 2.6.10 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  9 2005, 03:36:15)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe "
CHOST="x86_64-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/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa berkdb bitmap-fonts cdr crypt directfb esd f77 fam
flac font-server fortran ggi gif gnome gpm gstreamer gtk imagemagick imlib ipv6
java jp2 jpeg junit lzw lzw-tiff motif mozilla multilib mysql nas ncurses nls
odbc oggvorbis opengl oss pam perl png postgres python readline samba sdl sqlite
ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml xml2 xmms
xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
------
Comment 1 Pablo Trabajos 2005-03-31 10:14:39 UTC
Same here since today.
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2005-07-11 07:46:02 UTC
this bug is quite old... does it still fail? if so, what about 2.3.0.4?
Comment 3 Ben Jackson 2005-07-11 10:54:40 UTC
fixed as of 2.3.0.4