|
Julian
|
|
Post:
Nov 17th 2007 at 6:54 PM |
|
|
Hi,
libswt-pi-gtk-3232.so is already taked..
the problem, is the library was builder for 32-bit but you have a 64 bit Arch.
You say "on console...it works.", So i think you have 2 swt version installed on your system..
1*
your CLASSPATH say: /usr/lib/java/swt.jar
I'm sure you have "libswt3.2-gtk-java" and "libswt3.2-gtk-jni" packages installed from repositories for you 64 bit.
and libswt3.2-gtk-jni package add native libraries to:
/usr/lib/jni/
2*
tuxguitar, already include SWT library ( see at /opt/tuxguitar-0.9.1/lib ), but you downloaded a 32 bit version of tuxguitar..
So now take a look at your library path:
/usr/lib/jni/:/opt/tuxguitar-0.9.1/lib/
the last "/opt/tuxguitar-0.9.1/lib/" is overriden the first /usr/lib/jni/.. so you are loading the 32 bit *.so files..
The same happend with the CLASSPATH and swt.jar
So you should do this:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jni/
export CLASSPATH=$CLASSPATH:/usr/lib/java/swt.jar
Well, i'm not sure what "alacarte" is, but i don't think you need edit your .bashrc, i think you only need modify the "/opt/tuxguitar-0.9.1/tuxguitar" script file. and set the paths for your 64 bit version of SWT..
and remove /opt/tuxguitar-0.9.1/lib/swt* because it's only taking disk space
|
|