O problema é que o vuze usa a biblioteca SWT do Java, que para ambientes
linux só existe pré-compilada a versão 32-bit.
Para resolver isso (usar o SWT nativo em 64-bits), tem que baixar os
fontes e recompilar o SWT. O FAQ do eclipse.org fala o seguinte
(http://www.eclipse.org/swt/faq.php#gtk64):
*Q: How do I build the 64-bit version of SWT GTK?*
A: Follow these steps to extract the 64-bit SWT GTK source code from
GIT and produce your own build:
1. Start Eclipse and retrieve the |org.eclipse.swt|,
|org.eclipse.swt.gtk.linux.x86_64| and |org.eclipse.swt.tools|
projects from dev.eclipse.org (see How to use SWT from GIT
<http://www.eclipse.org/swt/git.php>, use |.classpath_gtk| as
the |.classpath| file in the |org.eclipse.swt| project).
2. Convert SWT's Java from its 32-bit form to 64-bit:
* To convert the Java code in-place, go to the |build.xml| ant
script in the |org.eclipse.swt.gtk.linux.x86_64| project and
run its "replace.32.to.64" target. Once this target has
completed you must refresh (F5) the |org.eclipse.swt|
project in order to pick up the changes.
* Run the "build_libraries" target in the same |build.xml|
file. Refresh (F5) the |org.eclipse.swt.gtk.linux.x86_64|
project when this target has completed, to pick up the new
libraries.
3. You're done! The |org.eclipse.swt.gtk.linux.x86_64| project will
now contain the 64-bit native libraries, and if you're
interested, the 64-bit source code will now be available in the
|org.eclipse.swt.gtk.linux.x86_64/src| folder.
**
On 08/08/2011 10:26 AM, Psycho Mantys wrote:
Em 6 de agosto de 2011 10:10, Gilberto F da Silva
<[email protected]> escreveu:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Saluton!
Com a placa recém instalada no computador consegui fazer o
Slackware funcionar.
Um programa que uso bastante é o vuze mas não estou tendo sucesso
com ele no Slackware 13.37 Depois de baixar e rodar o vuze obtenho a mensagem
abaixo. No Mandriva 2010 também dava o mesmo erro porém, há uma versão do vuze
no gerenciador de programas para baixar.
Estou procurando por versões mais antigas do vuze mas até agora só
encontrei para Windows.
Sei que existem outros programas para torrent, inclusive, estou
usando opera enquanto não soluciono o problema do vuze que possui minha
preferência.
bash-4.1$ ./vuze
Starting Azureus...
Suitable java version found [java = 1.6.0_25]
Configuring environment...
Java exec found in PATH. Verifying...
Browser check failed with: Cannot load 64-bit SWT libraries on 32-bit JVM
Auto-scanning for GRE/XULRunner. You can skip this by appending the GRE path
to LD_LIBRARY_PATH and setting MOZILLA_FIVE_HOME.
checking /usr/lib/seamonkey-2.1b3 for GRE
GRE found at /usr/lib/seamonkey-2.1b3.
Browser check failed with: Could not initialize class
org.eclipse.swt.widgets.Display
Can't create browser. Will try to set LD_LIBRARY_PATH and hope Vuze has better
luck.
setting LD_LIBRARY_PATH to: /usr/lib/seamonkey-2.1b3
setting MOZILLA_FIVE_HOME to: /usr/lib/seamonkey-2.1b3
Loading Azureus:
java -Xmx128m -cp "./Azureus2.jar:./swt.jar" -Djava.library.path="/home/slackware1337/vuze"
-Dazureus.install.path="/home/slackware1337/vuze" -Dazureus.script="./vuze"
-Dazureus.script.version=2 org.gudy.azureus2.ui.swt.Main
file:/home/slackware1337/vuze/Azureus2.jar ;
file:/home/slackware1337/vuze/swt.jar ; file:/home/slackware1337/vuze/
changeLocale: *Default Language* != Esperanto (XX). Searching without country..
changeLocale: Searching for language Esperanto in *any* country..
changeLocale: no message properties for Locale 'Esperanto (XX)' (eo_XX), using
'English (default)'
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:114)
at org.gudy.azureus2.ui.swt.Main.main(Main.java:292)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.aelitis.azureus.launcher.MainExecutor$1.run(MainExecutor.java:37)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on
32-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:194)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:174)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
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:132)
at
org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:84)
at
org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:63)
at com.aelitis.azureus.ui.swt.Initializer.<init>(Initializer.java:163)
... 12 more
Exit from Azureus complete
No shutdown tasks to do
Azureus TERMINATED.
########################################################################################################################
Eu nao passei por esse erro, mas tenta fazer isso aqui:
http://stackoverflow.com/questions/4415827/java-lang-unsatisfiedlinkerror-cannot-load-64-bit-swt-libraries-on-32-bit-jvm-in
--
GUS-BR - Grupo de Usuários de Slackware Brasil
http://www.slackwarebrasil.org/
http://groups.google.com/group/slack-users-br
Antes de perguntar:
http://www.istf.com.br/perguntas/
Para sair da lista envie um e-mail para:
[email protected]