Bug#662986: scilab-full-bin: libjvm.so not found and looks.jar missing on 64bit system
Andreas Weber
andy.weber.aw at googlemail.com
Wed Mar 7 19:58:17 UTC 2012
Package: scilab-full-bin
Version: 5.3.3-5
Severity: important
Dear Maintainer,
after installing scilab-full-bin and scilab-doc and trying to run it i get:
$ scilab-bin
SCI environment variable not defined.
$ SCIVERBOSE=1 /usr/bin/scilab
SCILABBIN : scilab-bin
DISABLE_JAVA_DETECTION : 0
SCILAB_MODE : gui
OS : Linux
MODEL : x86_64
IS_SCILAB_BINARY : 0
Trying to find Java in /usr/lib/jvm/default-java/
found
Have not been able to find any Java VM on this computer. Some features may be
broken.
JAVA_HOME : /usr/lib/jvm/default-java/
SCI : /usr/share/scilab/
SCIBIN : /usr/bin/scilab-bin
PATH :
/usr/share/scilab/:/usr/share/scilab//bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
CLASSPATH : /usr/share/scilab//modules/core/jar/org.scilab.modules.core.jar
LD_LIBRARY_PATH : /usr/lib/scilab/:/usr/lib64/scilab/:/usr/lib/jvm/default-
java//jre/lib/amd64/:/usr/lib/jvm/default-
java//jre/lib/amd64/server/:/usr/lib/jvm/default-
java//jre/lib/amd64/native_threads/
DOCBOOK : /usr/share/sgml/docbook/stylesheet/xsl/nwalsh
(process:29123): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Error parsing gtk-icon-sizes string: ''
this gives me a scilab console. I also tried:
$ export SCI=/usr/share/scilab
$ scilab-bin
Kann die JVM dynamische Bibliothek (libjava) nicht laden.
Fehler: libjvm.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder
Verzeichnis nicht gefunden
Wenn Sie eine Binärversion von Scilab verwenden, geben Sie einen Fehlerbreicht
unter http://bugzilla.scilab.org/ ab.
Wenn Sie eine selbsterzeugte Version von Scilab verwenden, aktualisieren Sie
das Skript Bin/Scilab, um einen Pfad zu JVM zu geben.
Das Problem könnte mit SELinux zusammenhängen. Versuchen Sie es zu
deaktivieren.
Please also check that you are not trying to run Scilab 64 bits on a 32 bits
system (or vice versa).
Scilab kann JVM Bibliothek nicht öffnen.
$ locate libjvm.so | xargs md5sum
f4e641ca87f510970857558518b7dd7d
/usr/lib/jvm/java-1.5.0-gcj-4.4/jre/lib/amd64/client/libjvm.so
f4e641ca87f510970857558518b7dd7d
/usr/lib/jvm/java-1.5.0-gcj-4.4/jre/lib/amd64/server/libjvm.so
f4e641ca87f510970857558518b7dd7d /usr/lib/jvm/java-1.5.0-gcj-4.4/lib/libjvm.so
7f9c87a9426a27b50770ab2dacba1bad
/usr/lib/jvm/java-1.5.0-gcj-4.6/jre/lib/amd64/client/libjvm.so
7f9c87a9426a27b50770ab2dacba1bad
/usr/lib/jvm/java-1.5.0-gcj-4.6/jre/lib/amd64/server/libjvm.so
7f9c87a9426a27b50770ab2dacba1bad /usr/lib/jvm/java-1.5.0-gcj-4.6/lib/libjvm.so
36bb8365ba978198d2cc1327e80a48c0 /usr/lib/jvm/java-6-openjdk-
amd64/jre/lib/amd64/cacao/libjvm.so
8b9d248cff713e07d1e98b9479a6d249 /usr/lib/jvm/java-6-openjdk-
amd64/jre/lib/amd64/jamvm/libjvm.so
8b8f339d2ef7a4bb056595ab2dcad545 /usr/lib/jvm/java-6-openjdk-
amd64/jre/lib/amd64/server/libjvm.so
4d7eb8c257d2097ac302bb106148a7ca /usr/lib/jvm/java-7-openjdk-
amd64/jre/lib/amd64/jamvm/libjvm.so
ac3517dd1e08bd9b5c9df79b8ca93230 /usr/lib/jvm/java-7-openjdk-
amd64/jre/lib/amd64/server/libjvm.so
f4e641ca87f510970857558518b7dd7d /usr/lib/x86_64-linux-
gnu/gcj-4.4-10/libjvm.so
7f9c87a9426a27b50770ab2dacba1bad /usr/lib/x86_64-linux-
gnu/gcj-4.6-12/libjvm.so
Then I tried to use ldconfig:
$ ldconfig /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server
After that
$ scilab-bin
Warnung: kann kein Java Paket finden '/usr/share/java//looks.jar'.
Einige Probleme sind während des Ladens der Java Bibliotheken aufgetreten.
Dies kann zu unvorhergesehenem Verhalten führen.
Überprüfen Sie SCI/etc/classpath.xml.
scilab starts but I cannot use the menus in the scilab console. Therefore I
installed
libjgoodies-looks-java which includes /usr/share/java/looks.jar
$ apt-get install libjgoodies-looks-java
Now scilab runs as expected.
Best regards
Andreas Weber
$ dpkg -l|grep jre
ii default-jre 1:1.6-46
Standard Java or Java compatible Runtime
ii default-jre-headless 1:1.6-46
Standard Java or Java compatible Runtime (headless)
ii gcj-4.4-jre 4.4.6-11 Java
runtime environment using GIJ/classpath
ii gcj-4.4-jre-headless 4.4.6-11 Java
runtime environment using GIJ/classpath (headless version)
ii gcj-4.4-jre-lib 4.4.6-11 Java
runtime library for use with gcj (jar files)
ii gcj-4.6-jre 4.6.2-2 Java
runtime environment using GIJ/classpath
ii gcj-4.6-jre-headless 4.6.2-2 Java
runtime environment using GIJ/classpath (headless version)
ii gcj-4.6-jre-lib 4.6.2-2 Java
runtime library for use with gcj (jar files)
ii gcj-jre 4:4.6.2-4 Java
runtime environment using GIJ/classpath
ii gcj-jre-headless 4:4.6.2-4 Java
runtime environment using GIJ/classpath (headless version)
ii icedtea-6-jre-cacao 6b24~pre2-1
Alternative JVM for OpenJDK, using Cacao
ii icedtea-6-jre-jamvm 6b24~pre2-1
Alternative JVM for OpenJDK, using JamVM
ii icedtea-7-jre-jamvm 7~b147-2.0-1
Alternative JVM for OpenJDK, using JamVM
ii openjdk-6-jre 6b24~pre2-1
OpenJDK Java runtime, using Hotspot JIT
ii openjdk-6-jre-headless 6b24~pre2-1
OpenJDK Java runtime, using Hotspot JIT (headless)
ii openjdk-6-jre-lib 6b24~pre2-1
OpenJDK Java runtime (architecture independent libraries)
ii openjdk-7-jre 7~b147-2.0-1
OpenJDK Java runtime, using Hotspot JIT
ii openjdk-7-jre-headless 7~b147-2.0-1
OpenJDK Java runtime, using Hotspot JIT (headless)
ii openjdk-7-jre-lib 7~b147-2.0-1
OpenJDK Java runtime (architecture independent libraries)
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages scilab-full-bin depends on:
ii default-jre 1:1.6-46
ii docbook-xsl 1.76.1+dfsg-1
ii fop 1:1.0.dfsg2-6
ii javahelp2 2.0.05.ds1-6
ii libatlas3gf-base [liblapack.so.3gf] 3.8.3-27
ii libavalon-framework-java 4.2.0-8
ii libbatik-java 1.7-8
ii libblas3gf [libblas.so.3gf] 1.2.20110419-2
ii libc6 2.13-26
ii libfftw3-3 3.3-1
ii libflexdock-java 1.1.1-2
ii libgcc1 1:4.6.3-1
ii libgfortran3 4.6.3-1
ii libhdf5-lam-1.8.4 [libhdf5-1.8.4] 1.8.4-patch1-3
ii libjeuclid-core-java 3.1.9-2
ii libjgraphx-java 1.4.1.0-3
ii libjhdf5-java 2.6.1-2+b1
ii libjlatexmath-fop-java 0.9.7-1
ii libjlatexmath-java 0.9.7-1
ii libjogl-java 1.1.1+dak1-12
ii libjrosetta-java 1.0.4-1
ii liblapack3gf [liblapack.so.3gf] 3.3.1-1
ii libncurses5 5.9-4
ii libpcre3 8.12-4
ii libpvm3 3.4.5-12.3
ii libquadmath0 4.6.3-1
ii libsaxon-java 1:6.5.5-8
ii libskinlf-java 6.7-8
ii libstdc++6 4.6.3-1
ii libtinfo5 5.9-4
ii libxml2 2.7.8.dfsg-7
ii scilab-minimal-bin 5.3.3-5
ii tcl8.5 8.5.11-1
ii tk8.5 8.5.11-1
ii zlib1g 1:1.2.6.dfsg-2
Versions of packages scilab-full-bin recommends:
ii pvm 3.4.5-12.3
scilab-full-bin suggests no packages.
-- no debconf information
More information about the debian-science-maintainers
mailing list