Azureus-2.3.0.6-r1 works great with swt-3.1, but with swt-3.2 its startup fails with: =========================================== java.lang.UnsatisfiedLinkError: no swt-atk-gtk-3232 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682) at java.lang.Runtime.loadLibrary0(Runtime.java:822) at java.lang.System.loadLibrary(System.java:992) at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source) at org.eclipse.swt.internal.accessibility.gtk.ATK.<clinit>(Unknown Source) at org.eclipse.swt.widgets.Control.removeRelation(Unknown Source) at org.eclipse.swt.widgets.Control.setZOrder(Unknown Source) at org.eclipse.swt.widgets.Control.setZOrder(Unknown Source) at org.eclipse.swt.widgets.Control.moveAbove(Unknown Source) at org.gudy.azureus2.ui.swt.views.MyTorrentsView.createTabs(MyTorrentsView.java:236) at org.gudy.azureus2.ui.swt.views.MyTorrentsView.initialize(MyTorrentsView.java:145) at org.gudy.azureus2.ui.swt.views.MyTorrentsSuperView.initialize(MyTorrentsSuperView.java:151) at org.gudy.azureus2.ui.swt.Tab.<init>(Tab.java:156) at org.gudy.azureus2.ui.swt.Tab.<init>(Tab.java:72) at org.gudy.azureus2.ui.swt.mainwindow.MainWindow.showMyTorrents(MainWindow.java:861) at org.gudy.azureus2.ui.swt.mainwindow.MainWindow.openMainWindow(MainWindow.java:755) at org.gudy.azureus2.ui.swt.mainwindow.MainWindow.access$1200(MainWindow.java:65) at org.gudy.azureus2.ui.swt.mainwindow.MainWindow$27.runSupport(MainWindow.java:1652) at org.gudy.azureus2.core3.util.AERunnable.run(AERunnable.java:38) at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:114) at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:58) at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:108) at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:123) at org.gudy.azureus2.ui.swt.Main.main(Main.java:142) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.gudy.azureus2.ui.common.Main.directLaunch(Main.java:221) at org.gudy.azureus2.ui.common.Main.main(Main.java:128) ==================================== $ equery files swt [ Searching for packages matching swt... ] * Contents of dev-java/swt-3.2: /usr /usr/lib /usr/lib/libswt-awt-gtk-3232.so /usr/lib/libswt-glx-gtk-3232.so /usr/lib/libswt-gtk-3232.so /usr/lib/libswt-pi-gtk-3232.so /usr/share /usr/share/doc /usr/share/doc/swt-3.2 /usr/share/doc/swt-3.2/html /usr/share/doc/swt-3.2/html/about.html /usr/share/swt-3 /usr/share/swt-3/lib /usr/share/swt-3/lib/swt.jar /usr/share/swt-3/package.env ========================================= Both swt versions (3.1 and 3.2) don't have /usr/lib/swt-atk-gtk-*.so. But with swt 3.1, Azureus works. I compile with sun-jdk-1.4, and run with sun-jdk-1.5.
Please try testing with azureus-2.4.0.2.
Hi, Same error and stacktrace with 2.4.0.2, unfortunately.
OK, it can be solved by emerging swt-3.2 with "accessibility" USE flag. Then /usr/lib/libswt-atk-gtk-3232.so gets created, and all is good :-)
Created attachment 92860 [details, diff] Proposed patch to the azureus ebuild This patch will force the user to compile swt with accessibility in order to emerge azureus. It presents the user with correct instructions with how to recompile swt.
Sorry, but I have the following installed: net-p2p/azureus-2.3.0.6-r1 USE="-source" dev-java/swt-3.2_rc2 USE="cairo gnome opengl -accessibility -mozilla" and everything seems to work fine. I'm not sure if my swt is earlier than yours, but I think that fix is wrong.
I have more recent version of azureus: [ebuild R ] net-p2p/azureus-2.4.0.2 USE="-source" 0 kB [ebuild R ] dev-java/swt-3.2-r1 USE="accessibility cairo gnome opengl -seamonkey -source" 0 kB [4]
Hi guys, I had this same problem. It occurred as soon as I created categories, and restarted the program. Think this is the source of the issue! I spoke about it with someone (The_8472) in #azureus-support over at freenode, he told me that azureus 2402 was never tested against swt 3232, only against 3139. 3232 is intended for the next release. I'm not familiar with development-level java myself but I hope these $0.02 help anyway. (:
*** Bug 143743 has been marked as a duplicate of this bug. ***
swt-3.2-r1 dropped the accessibility use flag and azureus now depends on that version. Thanks to compnerd and everyone in this bug.