Bug 2830 - tuxguitar don't run
Summary: tuxguitar don't run
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: José Jorge
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-24 22:25 CEST by Bernard SIAUD
Modified: 2012-01-14 20:50 CET (History)
3 users (show)

See Also:
Source RPM: tuxguitar-1.2-7.mga2.src.rpm
CVE:
Status comment:


Attachments

Description Bernard SIAUD 2011-09-24 22:25:08 CEST
$ tuxguitar 
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
	no swt-gtk-3735 in java.library.path
	no swt-gtk in java.library.path
	Can't load library: /home/bs/.swt/lib/linux/x86_64/libswt-gtk-3735.so
	Can't load library: /home/bs/.swt/lib/linux/x86_64/libswt-gtk.so

	at org.eclipse.swt.internal.Library.loadLibrary(Library.java:285)
	at org.eclipse.swt.internal.Library.loadLibrary(Library.java:194)
	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(TuxGuitar.java:200)
	at org.herac.tuxguitar.gui.TGMain.main(TGMain.java:6)
$ ll -R /home/bs/.swt/
/home/bs/.swt/:
total 4
drwxrwxr-x 3 troumad troumad 4096 sept. 24 22:19 lib/

/home/bs/.swt/lib:
total 4
drwxrwxr-x 3 troumad troumad 4096 sept. 24 22:19 linux/

/home/bs/.swt/lib/linux:
total 4
drwxrwxr-x 2 troumad troumad 4096 sept. 24 22:19 x86_64/

/home/bs/.swt/lib/linux/x86_64:
total 0

If I do 
$ rm -fr /home/bs/.swt
And i call tuxguitar, I have the same problem and the same /home/bs/.swt

How reproducible: Every time I attempt to run tuxguitar
Comment 1 Manuel Hiebel 2011-09-24 23:37:00 CEST
is eclipse-swt installed ?

Keywords: (none) => NEEDINFO

Comment 2 Bernard SIAUD 2011-09-25 08:41:30 CEST
Yes, it's.
Comment 3 Manuel Hiebel 2011-09-25 12:04:29 CEST
there is another bug 1760 about tuxguitar, but I don't think that is the same.

Keywords: NEEDINFO => (none)
Assignee: bugsquad => lists.jjorge

Comment 4 José Jorge 2011-09-25 21:10:41 CEST
(In reply to comment #2)
> Yes, it's.

Please ensure this workaround is applicated on your system, as it may be the same problem.

https://bugs.mageia.org/show_bug.cgi?id=1760#c2
Comment 5 José Jorge 2011-09-25 21:44:31 CEST
I could just try on a clean x86_64 system, and could not reproduce the bug :
- tuxguitar starts with no problem
- it plays sounds

Seeing this bug report, the system may have some hacks : it searches libswt-gtk-3735.so while /usr/lib64/eclipse/libswt-gtk-3659.so is in your system.

Didn't you play with java?

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 6 D Morgan 2011-09-25 23:12:49 CEST
i reopen because i reproduce.

I don't know Yet how to fix, but i reproduce with the exact error message.

Status: RESOLVED => UNCONFIRMED
CC: (none) => dmorganec
Resolution: INVALID => (none)
Ever confirmed: 1 => 0

Comment 7 José Jorge 2011-09-26 08:23:06 CEST
Oh! sorry, I just realised this is a Cauldron bug... I was testing stable release.
Comment 8 Jani Välimaa 2011-09-26 19:40:04 CEST
I think all this is caused by eclipse. libswt-*.so files aren't packaged anymore to eclipse-swt pkg and I guess tuxguitar needs some of them.

CC: (none) => jani.valimaa

Sébastien GUERIN 2011-10-07 20:34:48 CEST

CC: (none) => sebastien.guerin.news

Comment 9 Jani Välimaa 2012-01-14 20:50:04 CET
This particular issue is fixed, so I'm closing this as FIXED. Feel free to reopen if needed.

Status: UNCONFIRMED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.