Bug#1076673: jameica: Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library.
cybaer42 at web.de
cybaer42 at web.de
Mon Sep 2 10:43:37 BST 2024
Hi Jochen,
some additional information
when symbolic linking the libraries from /usr/lib/jni to
~/.swt/lib/linux/aarch64 the application works - but needs relinking
when the libraries are updated.
Thomas
Am 01.09.24 um 15:35 schrieb Jochen Sprickerhof:
> 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
More information about the pkg-java-maintainers
mailing list