Comment 1 for bug 57875

Revision history for this message
Gary Coady (garycoady) wrote : Re: Azureus does not start

Confirmed, I think. There's more than one problem to fix before azureus will run.

Firstly, in /usr/bin/azureus, two of the JAR file references are wrong - there should be references to glib0.4.jar and gtk2.10.jar in $CP.

Secondly, once that is changed, I get the backtrace
  java.lang.UnsatisfiedLinkError: gtk_icon_theme_get_default
        at org.gnu.gtk.IconTheme.gtk_icon_theme_get_default(Native Method)
        at org.gnu.gtk.IconTheme.getDefault(IconTheme.java:42)
        at org.gudy.azureus2.ui.swt.ImageRepository.getThemedIcon(ImageRepository.java:71)
        at org.gudy.azureus2.ui.swt.ImageRepository.loadImages(ImageRepository.java:128)
        at org.gudy.azureus2.ui.swt.mainwindow.Initializer.run(Initializer.java:210)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread$1.runSupport(SWTThread.java:107)
        at org.gudy.azureus2.core3.util.AERunnable.run(AERunnable.java:38)
        at java.lang.Thread.run(Unknown Source)

Not sure what's happening here - /usr/lib/jni/libgtk-2.10.so has a DT_NEEDED entry for libgtk-x11-2.0.so.0 - so I think that SHOULD cause the GTK library to be linked in? Unsure if this is a problem with libgtk-java, or...

note: using SUN Java 1.5.0+update05

If using gij/gcj, azureus WILL start if LD_PRELOAD is set to /usr/lib/jni/libgtkjni-2.10.so:/usr/lib/jni/libglibjni-0.4.so