[Not start] wrong ELF class: ELFCLASS64 - java.lang.UnsatisfiedLinkError: /opt/azureus/libswt-pi-gtk-3232.so

Bug #75147 reported by Cristian Aravena Romero
2
Affects Status Importance Assigned to Milestone
azureus (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

caravena@athena:~$ azureus
bash: azureus: orden no encontrada

[Not found...]

caravena@athena:~$ /opt/azureus/./azureus
Starting Azureus...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.5.0_08]
Configuring environment...
Loading Azureus:
java -Xms16m -Xmx128m -cp "/opt/azureus/Azureus2.jar:/opt/azureus/swt.jar" -Djava.library.path="/opt/azureus" -Dazureus.install.path="/opt/azureus" org.gudy.azureus2.ui.swt.Main ''
changeLocale: *Default Language* != English (United States). Searching without country..
changeLocale: Searching for language English in *any* country..
changeLocale: no message properties for Locale 'English (United States)' (en_US), using 'English (default)'
Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/azureus/libswt-pi-gtk-3232.so: /opt/azureus/libswt-pi-gtk-3232.so: wrong ELF class: ELFCLASS64
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
        at java.lang.Runtime.loadLibrary0(Runtime.java:822)
        at java.lang.System.loadLibrary(System.java:993)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
        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:126)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:80)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:61)
        at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:110)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:147)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:162)
Azureus TERMINATED.
caravena@athena:~$

Revision history for this message
Cristian Aravena Romero (caravena) wrote :
Revision history for this message
Cristian Aravena Romero (caravena) wrote :
Revision history for this message
Michael Koch (konqueror) wrote :

You are using a version of azureus not provided by Ubuntu. And it looks like you download a version for a 64-bit arch while running on a 32-bit arch (or vice versa). Therefor I close this bug as invalid.

Changed in azureus:
status: New → Invalid
Revision history for this message
abrichr (abrichr) wrote :

it's not invalid. many users of 64-bit ubuntu use a wrapper in their browser for 32-bit flash and java, since these are not supported under 64bit versions of firefox yet.

i am receiving the same error. is there any way to let the two coexist? or perhaps install a 32 bit version of azureus?

Revision history for this message
Michael Koch (konqueror) wrote :

I closed this bug report because you use a version of azureus not provided by Ubuntu. We cant do much about third party software. And to me it looks like you have just downloaded for the wrong architecture.

Why dont you just install the version from Ubuntu or at least the 64 bit version from upstream?

Revision history for this message
abrichr (abrichr) wrote :

i installed the version from the ubuntu feisty repos, and it is a 64 bit version. i believe the conflict is stemming from the 32-bit java, since afaik there is no 64-bit java plugin for mozilla based browsers as of yet.

Revision history for this message
Michael Koch (konqueror) wrote :

You SUN JDK ist not from feisty. feisty contains 1.5.0-11. Is your SUN JDK a 32 bit version or a 64 bit version? It must be a 64 bit version to get Azureus working. 'apt-get install sun-java5-jdk' installs the right thing. This version contains no plugin that is correct. Azureus needs no plugin. Can you please send me the output of 'file /usr/lib/jni/libswt-pi-gtk-3236.so' and 'ldd /usr/lib/jni/libswt-pi-gtk-3236.so'.

Revision history for this message
abrichr (abrichr) wrote :

you're right, the thing wasn't installed at all (out was no such file or directory). but what i was referring to was a 32-bit java plugin for mozilla firefox, nothing to do with azureus. in any case, i've switched over to deluge, which i prefer anyhow. thanks for the help.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.