Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54168 - Azureus fails to start after emerging net-p2p/azureus-bin-2.1.0.0
Summary: Azureus fails to start after emerging net-p2p/azureus-bin-2.1.0.0
Status: RESOLVED DUPLICATE of bug 54216
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-16 23:20 UTC by Andrew D Kirch
Modified: 2005-07-17 13:06 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 Andrew D Kirch 2004-06-16 23:20:42 UTC
I initially thoguht this was a commons cli problem but it appears this is not the case.

Reproducible: Always
Steps to Reproduce:
1. emerge azereus-bin (any version)
2. run azereus
3.

Actual Results:  
program fails to start or alternatively stops wtih the following output

Expected Results:  
cure for cancer? world peace? or perhaps some bittorrenty goodness.

trelane@gentoo64 trelane $ azureus
Attempting to start Azureus...
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/usr/lib/azureus/libswt-pi-gtk-3052.so: /usr/lib/azureus/libswt-pi-gtk-3052.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:1560)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
        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:120)
        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:69)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:109)
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-1.2.8.jar:/usr/share/commons-cli-1/lib/commons-cli.jar:/usr/share/systray4j/lib/systray4j.jar:.
trelane@gentoo64 trelane $
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-06-17 01:02:03 UTC
did you try this ?

This should do the trick (as root):
java-config --add-system-classpath=junit,log4j,commons-cli,systray4j
env-update && source /etc/profile
Comment 2 Jon Hood (RETIRED) gentoo-dev 2004-06-18 06:55:34 UTC

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