, , , , , , ,

TuxGuitar 1.2 Logo


Somedays ago, I’m just moved into OpenSUSE 12.1 from Debian Wheezy, but it’s not because Debian isn’t good. I’m just want to try lovely KDE 4.x, instead my useful and lightning fast fluxbox WM on Debian system.


I think qt-based apps is almost OK and all of my fave gtk-based apps is always have an alternate in qt. But somehow when I’ve install TuxGuitar for opening up my guitar pro files, this following error messange is appeared:

abz@linux-oif5:~> tuxguitar
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-gtk-3730 in java.library.path
no swt-gtk in java.library.path
Can't load library: /home/abz/.swt/lib/linux/amd64/libswt-gtk-3730.so
Can't load library: /home/abz/.swt/lib/linux/amd64/libswt-gtk.so

at org.eclipse.swt.internal.Library.loadLibrary(Library.java:284)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:193)
at org.eclipse.swt.internal.C.(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.(Display.java:132)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)


Look and that debug info, and we will know that some deps libs file are missing:



After a little time to find out which rpm that contain this file (libswt-gtk*.so)
this file is provided by eclipse-swt.


So just install it

linux-oif5:~ # zypper in eclipse-swt


The eclipse-swt files will go here:

linux-oif5:~ # ls /usr/lib64/eclipse/
libswt-atk-gtk-3735.so libswt-cairo-gtk-3735.so libswt-gnome-gtk-3735.so
libswt-mozilla-gtk-3735.so libswt-webkit-gtk-3735.so swt-cairo-gtk.so
swt-mozilla-gtk.so libswt-atk-gtk.so libswt-cairo-gtk.so
libswt-gnome-gtk.so libswt-mozilla-gtk.so libswt-webkit-gtk.so
swt-glx-gtk.so swt-pi-gtk.so libswt-awt-gtk-3735.so
libswt-glx-gtk-3735.so libswt-gtk-3735.so libswt-pi-gtk-3735.so
swt-atk-gtk.so swt-gnome-gtk.so swt-webkit-gtk.so
libswt-awt-gtk.so libswt-glx-gtk.so libswt-gtk.so
libswt-pi-gtk.so swt-awt-gtk.so swt-gtk.so


So we just need create a symlink:

abz@linux-oif5:~> ln -s /usr/lib64/eclipse /home/abz/.swt/lib/linux/amd64


Finally our TuxGuitar 1.2 will works on our system 🙂


TuxGuitar on OpenSUSE 12.1 KDE


Thanks for visiting,
hope it helps 🙂