Download nach /opt
Installationsproblem mit SuSE 10.1
./GalleryRemote.1.5.Linux.VM.bin Preparing to install… Extracting the JRE from the installer archive… Unpacking the JRE… Extracting the installation resources from the installer archive… Configuring the installer for this system's environment… awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory /bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Launching installer…
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory /tmp/install.dir.5558/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
Startet man unter SuSE 10.3 ein grafisches Java Programm, stürzt die Anwendung mit der Fehlermeldung: "xcb_xlib.c:52: xcb_xlib_unlock: Assertion `c→xlib.lock' failed" ab. Das passiert auch, wenn man aus der IDE eclipse ein grafisches Java Programm startet.
Ursache: Die xorg-x11-libxcb - X.Org xcb Bibliothek 7.2.22 verweigert Java Grafikausgaben auf dem Bildschirm auszuführen.
Den Bug Thread bei Bugzilla gibt es hier: https://bugzilla.novell.com/show_bug.cgi?id=252510
Die Lösung: Man fügt der .profile Datei, die in jedem home Verzeichnis eines Benutzers liegt, folgende Zeile hinzu.
Code:
export LIBXCB_ALLOW_SLOPPY_LOCK=true
Dann wieder neu starten und alle Anwendungen, die java Grafikausgaben benutzen, laufen problemlos ab.
peer:/opt/Gallery_Remote # ./Gallery_Remote awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory /bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory /opt/Gallery_Remote/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
vi /opt/Gallery_Remote/GalleryRemote
export LD_ASSUME_KERNEL ändern nach
#xport LD_ASSUME_KERNEL
Achtung: den Eintrag gibt es 2x!
#!/bin/bash cd /opt/Gallery_Remote java -cp GalleryRemote.jar com.gallery.GalleryRemote.GalleryRemote
Befehl: /opt/Gallery_Remote/gallery_remote