[opensuse] OS12.1 x64: tuxguitar fails to start
Hi, I installed tuxguitar from the openSUSE repo. When I try to launch it from the console I get the following message: ------------- 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/jeancf/.swt/lib/linux/amd64/libswt-gtk-3730.so Can't load library: /home/jeancf/.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.<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.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source) at org.herac.tuxguitar.gui.TGMain.main(Unknown Source) ------------- "locate libswt-gtk-3730.so" returns nothing. However "locate libswt-gtk" returns /usr/lib64/eclipse/libswt-gtk-3735.so /usr/lib64/eclipse/libswt-gtk.so So it looks like tuxguitar is expecting an older version of the swt-gtk library than the one installed. Is there a workaround? Or do I need to file a bug? Thanks, JC -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 23/11/11 22:44, JC Francois wrote:
Hi,
I installed tuxguitar from the openSUSE repo. When I try to launch it from the console I get the following message:
------------- 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/jeancf/.swt/lib/linux/amd64/libswt-gtk-3730.so Can't load library: /home/jeancf/.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.<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.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source) at org.herac.tuxguitar.gui.TGMain.main(Unknown Source) ------------- "locate libswt-gtk-3730.so" returns nothing.
However "locate libswt-gtk" returns /usr/lib64/eclipse/libswt-gtk-3735.so /usr/lib64/eclipse/libswt-gtk.so
So it looks like tuxguitar is expecting an older version of the swt-gtk library than the one installed.
Is there a workaround? Or do I need to file a bug?
Same thing here on oS 11.4, so it's not a 12.1 thing. Bob -- Bob Williams System: Linux 2.6.37.6-0.9-desktop Distro: openSUSE 11.4 (x86_64) with KDE Development Platform: 4.7.2 (4.7.2) Uptime: 18:00pm up 1 day 3:36, 3 users, load average: 0.47, 0.39, 0.34 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 24.11.2011 23:56, schrieb Bob Williams:
On 23/11/11 22:44, JC Francois wrote:
Hi,
I installed tuxguitar from the openSUSE repo. When I try to launch it from the console I get the following message:
------------- 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/jeancf/.swt/lib/linux/amd64/libswt-gtk-3730.so Can't load library: /home/jeancf/.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.<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.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source) at org.herac.tuxguitar.gui.TGMain.main(Unknown Source) ------------- "locate libswt-gtk-3730.so" returns nothing.
However "locate libswt-gtk" returns /usr/lib64/eclipse/libswt-gtk-3735.so /usr/lib64/eclipse/libswt-gtk.so
So it looks like tuxguitar is expecting an older version of the swt-gtk library than the one installed.
Is there a workaround? Or do I need to file a bug?
Same thing here on oS 11.4, so it's not a 12.1 thing.
Bob
Hi, same here, 11.4 Karl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, Nov 24, 2011 at 5:44 AM, JC Francois
Hi,
I installed tuxguitar from the openSUSE repo. When I try to launch it from the console I get the following message:
------------- 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/jeancf/.swt/lib/linux/amd64/libswt-gtk-3730.so Can't load library: /home/jeancf/.swt/lib/linux/amd64/libswt-gtk.so
Hi, Somehow the library is not there to access. Try to create the symbolic link in your ~/.swt/lib/linux/amd64 directory: ln -s /usr/lib64/eclipse/libswt-gtk-3730.so libswt-gtk-3730.so ln -s /usr/lib64/eclipse/libswt-gtk.so libswt-gtk.so also maybe: ln -s /usr/lib64/eclipse/libswt-pi-gtk-3730.so libswt-pi-gtk-3730.so ln -s /usr/lib64/eclipse/libswt-pi-gtk.so libswt-pi-gtk.so ln -s /usr/lib64/eclipse/libswt-cairo-gtk-3730.so libswt-cairo-gtk-3730.so ln -s /usr/lib64/eclipse/libswt-cairo-gtk.so libswt-cairo-gtk.so ln -s /usr/lib64/eclipse/libswt-atk-gtk-3735.so libswt-atk-gtk-3730.so ln -s /usr/lib64/eclipse/libswt-atk-gtk.so libswt-atk-gtk.so HTH. regards, -- medwinz http://medwinz.blogsome.com https://connect.opensuse.org/pg/profile/medwin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 25/11/11 04:34, medwinz wrote:
Hi,
Somehow the library is not there to access.
Try to create the symbolic link in your ~/.swt/lib/linux/amd64 directory:
ln -s /usr/lib64/eclipse/libswt-gtk-3730.so libswt-gtk-3730.so ln -s /usr/lib64/eclipse/libswt-gtk.so libswt-gtk.so
also maybe: ln -s /usr/lib64/eclipse/libswt-pi-gtk-3730.so libswt-pi-gtk-3730.so ln -s /usr/lib64/eclipse/libswt-pi-gtk.so libswt-pi-gtk.so ln -s /usr/lib64/eclipse/libswt-cairo-gtk-3730.so libswt-cairo-gtk-3730.so ln -s /usr/lib64/eclipse/libswt-cairo-gtk.so libswt-cairo-gtk.so ln -s /usr/lib64/eclipse/libswt-atk-gtk-3735.so libswt-atk-gtk-3730.so ln -s /usr/lib64/eclipse/libswt-atk-gtk.so libswt-atk-gtk.so
HTH.
regards,
Actually doing "locate libswt-gtk" returns: /home/jeancf/.rssowl2/config212/org.eclipse.osgi/bundles/27/1/.c/libswt-gtk-3735.so /usr/lib64/eclipse/libswt-gtk-3735.so /usr/lib64/eclipse/libswt-gtk.so So the libswt-gtk-3730.so that tuxguitar is looking for is actually not installed on the system at all. JC -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Bug has been filed. https://bugzilla.novell.com/show_bug.cgi?id=732684 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 25/11/11 10:59, JC Francois wrote:
Bug has been filed. https://bugzilla.novell.com/show_bug.cgi?id=732684
The version of the eclipse-swt that you can find below (3.735-36.1) resolves the issue: http://download.opensuse.org/repositories/home:/embar-:/branches:/Education/... It has been committed to the Education repository but apparently this repo is not updated for now. JC -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 25/11/11 03:34, medwinz wrote:
On Thu, Nov 24, 2011 at 5:44 AM, JC Francois
wrote: Hi,
I installed tuxguitar from the openSUSE repo. When I try to launch it from the console I get the following message:
------------- 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/jeancf/.swt/lib/linux/amd64/libswt-gtk-3730.so Can't load library: /home/jeancf/.swt/lib/linux/amd64/libswt-gtk.so
Hi,
Somehow the library is not there to access.
Try to create the symbolic link in your ~/.swt/lib/linux/amd64 directory:
ln -s /usr/lib64/eclipse/libswt-gtk-3730.so libswt-gtk-3730.so ln -s /usr/lib64/eclipse/libswt-gtk.so libswt-gtk.so
also maybe: ln -s /usr/lib64/eclipse/libswt-pi-gtk-3730.so libswt-pi-gtk-3730.so ln -s /usr/lib64/eclipse/libswt-pi-gtk.so libswt-pi-gtk.so ln -s /usr/lib64/eclipse/libswt-cairo-gtk-3730.so libswt-cairo-gtk-3730.so ln -s /usr/lib64/eclipse/libswt-cairo-gtk.so libswt-cairo-gtk.so ln -s /usr/lib64/eclipse/libswt-atk-gtk-3735.so libswt-atk-gtk-3730.so ln -s /usr/lib64/eclipse/libswt-atk-gtk.so libswt-atk-gtk.so
HTH.
regards,
Thanks. That worked :) Bob -- Bob Williams System: Linux 2.6.37.6-0.9-desktop Distro: openSUSE 11.4 (x86_64) with KDE Development Platform: 4.7.2 (4.7.2) Uptime: 06:00am up 1 day 15:36, 3 users, load average: 0.33, 0.18, 0.20 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Bob Williams
-
JC Francois
-
Karl Sinn
-
medwinz