Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71277 - azureus 2.2.0.0 does not start (no swt-pi-gtk-3062 in java.library.path)
Summary: azureus 2.2.0.0 does not start (no swt-pi-gtk-3062 in java.library.path)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-15 05:32 UTC by JoWilly
Modified: 2004-12-14 02:12 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 JoWilly 2004-11-15 05:32:02 UTC
Hi,

azureus-bin 2.2.0.0 was working (but always crashed when checking the torrent files).

So I have unmerged azureus-bin, and merged azureus. This is what I get on startup:

$ azureus
Attempting to start Azureus...
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
        at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(Unknown Source)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
        at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:57)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:44)
        at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:181)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:71)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:115)
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-1,systray4j,swt
env-update && source /etc/profile

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


What can I do to get this working ?
Comment 1 Saleem Abdulrasool (RETIRED) gentoo-dev 2004-11-15 11:27:01 UTC
Try the following:

cd /usr/lib/azureus/
for $i in `ls /usr/lib/libswt-*`; do ln -s $i .; done;

Then try running azureus again.
Comment 2 JoWilly 2004-11-16 04:10:21 UTC
Thanks, making the links worked.

So it seems there is something wrong with the install, as it should look for the swt libs in the /usr/lib dir ... ?
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-12-14 02:12:12 UTC
closing