Results 1 to 7 of 7

Thread: TuxGuitar

  1. #1

    Default TuxGuitar

    I have upgraded to SUSE 12.1 (I586) and the TuxGuitar does not run because it requires something from the Java SWT library.
    I have looked thru the search results for Java on YAST, but it is not clear to me what I need to install. Is this a dependency bug in this distribution of TuxGuitar?

    Regards
    Jim Leven

  2. #2
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: TuxGuitar

    Am 05.03.2012 09:46, schrieb jhleven:
    >
    > I have upgraded to SUSE 12.1 (I586) and the TuxGuitar does not run
    > because it requires something from the Java SWT library.


    It would help if you post the exact error message with copy an paste.

    --
    PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT
    420 | 16GB Ram
    Eee PC 1201n: oS 12.1 64 bit | Intel Atom 330@1.60GHz | KDE 4.8.0 |
    nVidia ION | 3GB Ram

  3. #3
    Join Date
    Jan 2012
    Location
    BC
    Posts
    178

    Default Re: TuxGuitar

    What does "java -version" report?

    In the meantime, make sure you have a valid java soundfont installed and ready: Unavailable soundbank in tuxguitar

    Or even check out No sound in Tuxguitar.

  4. #4

    Default Re: TuxGuitar

    Sorry - attached error message:
    ~: 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/jleven/.swt/lib/linux/x86/libswt-gtk-3730.so
    Can't load library: /home/jleven/.swt/lib/linux/x86/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)
    ~:

  5. #5
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: TuxGuitar

    Are these files really there?
    What gives
    Code:
    ls -l /home/jleven/.swt/lib/linux/x86/
    ?

    --
    PC: oS 11.4 x86_64 | Intel Core i7-2600@3.40GHz | 16GB | KDE 4.6.0 |
    GeForce GT 420
    Eee PC 1201n: oS 12.1 x86_64 | Intel Atom 330@1.60GHz | 3GB | KDE 4.8.0
    | nVidia ION
    eCAFE 800: oS 12.1 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10 |
    xf86-video-geode

  6. #6
    Join Date
    Jan 2012
    Location
    BC
    Posts
    178

    Default Re: TuxGuitar

    Quote Originally Posted by jhleven View Post
    ~: 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/jleven/.swt/lib/linux/x86/libswt-gtk-3730.so
    Can't load library: /home/jleven/.swt/lib/linux/x86/libswt-gtk.so
    Also, search for any packages that may provide those files, from a terminal type:
    zypper wp libswt-gtk.so
    "wp" stands for "what provides" and will search for any packages that provide that file =)

    There is also a similar bug: [Bug 732684] New: Tuxguitar does not start on opensuse 12.1 (recommends to install eclipse-swt package)
    See this thread for an issue from 11.4: http://forums.opensuse.org/english/g...r-problem.html (recommends to update CLASSPATH)

    Try updating your classpath from this post:
    Quote Originally Posted by embar- View Post
    Temporaly you can start tuxguitar after doing this:
    changing 159 line of /usr/bin/tuxguitar from
    export CLASSPATH=$CLASSPATH:/usr/lib64/java/swt.jar
    to this:
    export CLASSPATH=$CLASSPATH:/usr/lib64/eclipse

    See https://bugzilla.novell.com/show_bug.cgi?id=732684

  7. #7

    Default Re: TuxGuitar

    Thanks - this solved the problem.
    Jim

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •