Bug#1076673: jameica: Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library.

Jochen Sprickerhof jspricke at debian.org
Sun Sep 1 16:35:53 BST 2024


Control: notfixed 906017 4.10.0-3
Control: reassign -1 swt4-gtk
Control: forcemerge 906017 -1

Hi Thomas,

sorry for the late reply.

* Thomas Renard <cybaer42 at web.de> [2024-07-21 22:13]:
>Start of jameica fails with following output on actual unstable/testing setup:
>
>Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
>        no swt-gtk-4960r6 in java.library.path: lib/swt/linux-arm64
>        no swt-gtk in java.library.path: lib/swt/linux-arm64
>        no swt in java.library.path: lib/swt/linux-arm64
>        Can't load library: /usr/lib/jni/libswt-gtk.so
>        Can't load library: /usr/lib/jni/libswt.so
>        Can't load library: /home/baer/.swt/lib/linux/aarch64/libswt-gtk-4960r6.so
>        Can't load library: /home/baer/.swt/lib/linux/aarch64/libswt-gtk.so
>        Can't load library: /home/baer/.swt/lib/linux/aarch64/libswt.so
>
>        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:350)
>        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:255)
>        at org.eclipse.swt.internal.C.<clinit>(C.java:19)
>        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:209)
>        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:155)
>        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:169)
>        at de.willuhn.jameica.gui.GUI.getDisplay(GUI.java:997)
>        at de.willuhn.jameica.gui.SplashScreen.<init>(SplashScreen.java:112)
>        at de.willuhn.jameica.system.ApplicationCallbackSWT.getStartupMonitor(ApplicationCallbackSWT.java:174)
>        at de.willuhn.jameica.system.Application.init(Application.java:97)
>        at de.willuhn.jameica.system.Application.newInstance(Application.java:87)
>        at de.willuhn.jameica.Main.main(Main.java:78)

This is bug #906017, so merging. I can reproduce it in a arm64 debvm:

debvm-create -z 5g -- --hook-dir=/usr/share/mmdebstrap/hooks/useradd --aptopt='Apt::Install-Recommends "true"' --include=linux-image-generic,task-gnome-desktop,jameica --architecture=arm64
debvm-run -g -- -m 2G

(But not on amd64).

Cheers Jochen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20240901/566a95bd/attachment.sig>


More information about the pkg-java-maintainers mailing list