Linker fails to find existing object: java.lang.UnsatisfiedLinkError

The application readily loads and executes in Tumbleweed 20240521 but it fails in newer versions, e.g. 20240613 with “Cannot open the shared object file: File or directory not found”:

karl@3400g:~> /usr/lib/jalbum/jre64/bin/java -Xmx8000m --add-exports=java.desktop/sun.awt.shell=ALL-UNNAMED -XX:+UseParallelGC -DmaxSubsampling=2 -DuseDesktop=true -jar /usr/lib/jalbum/JAlbum.jar

Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: /usr/lib/jalbum/jre64/lib/libglassgtk3.so: libgthread-2.0.so.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden

        at javafx.graphics@22/com.sun.javafx.tk.quantum.QuantumToolkit.startup(Unknown Source)

        at javafx.graphics@22/com.sun.javafx.application.PlatformImpl.startup(Unknown Source)

        at javafx.graphics@22/com.sun.javafx.application.PlatformImpl.startup(Unknown Source)

        at javafx.swing@22/javafx.embed.swing.JFXPanel.lambda$initFx$1(Unknown Source)

        at java.base/java.lang.Thread.run(Unknown Source)

Caused by: java.lang.UnsatisfiedLinkError: /usr/lib/jalbum/jre64/lib/libglassgtk3.so: libgthread-2.0.so.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden

Any idea?

Is libgthread installed ?

LANG=C zypper se libgthread
Loading repository data...
Reading installed packages...

S | Name                   | Summary                                        | Type
--+------------------------+------------------------------------------------+--------
i | libgthread-2_0-0       | Portable API from glib wrapping system threads | package
  | libgthread-2_0-0-32bit | Portable API from glib wrapping system threads | package

1 Like

The working version is libgthread-2.0.so.0.8000.2. Tumbleweeds failing to load have the newer version libgthread-2.0.so.0.8000.3.

Is this Jalbum from jalbum.net ? Post the result of

ldd /usr/lib/jalbum/jre64/lib/libglassgtk3.so |grep libgthread
3400g:~ # ldd /usr/lib/jalbum/jre64/lib/libglassgtk3.so |grep libgthread
ldd: warning: you do not have execution permission for `/usr/lib/jalbum/jre64/lib/libglassgtk3.so'
        libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x00007fd0e9cb4000)
3400g:~ # 

:grinning:

Tumbleweed upgrade from 20240521 (last known good) to 20240624 fixed the loader issue.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.