Bug#631813: scilab: launch script failure with 32 bits userland

Nicolas Schodet schodet-reportbug at ni.fr.eu.org
Mon Apr 16 07:42:02 UTC 2012


Hello,

I have the same problem:

% scilab

Could not load JVM dynamic library (libjava).
Error: libjvm.so: cannot open shared object file: No such file or directory
If you are using a binary version of Scilab, please report a bug http://bugzilla.scilab.org/.
If you are using a self-built version of Scilab, update the script bin/scilab to provide the path to the JVM.
The problem might be related to SELinux. Try to deactivate it.

Scilab cannot open JVM library.



% SCIVERBOSE=1 scilab
SCILABBIN : scilab-bin               
DISABLE_JAVA_DETECTION : 0
SCILAB_MODE : gui
Trying to find Java in /usr/lib/jvm/java-6-openjdk/ 
found
JAVA_HOME : /usr/lib/jvm/java-6-openjdk/
Cannot find /usr/lib/jvm/java-6-openjdk//jre/lib/amd64/libjava.so
SCI : /usr/share/scilab/
SCIBIN : /usr/bin/scilab-bin
PATH : /usr/share/scilab/:/usr/share/scilab//bin:/usr/bin:/home/schodet/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
LD_LIBRARY_PATH : /usr/lib/scilab/:/usr/lib64/scilab/:
DOCBOOK : /usr/share/sgml/docbook/stylesheet/xsl/nwalsh

Could not load JVM dynamic library (libjava).
Error: libjvm.so: cannot open shared object file: No such file or directory
If you are using a binary version of Scilab, please report a bug http://bugzilla.scilab.org/.
If you are using a self-built version of Scilab, update the script bin/scilab to provide the path to the JVM.
The problem might be related to SELinux. Try to deactivate it.

Scilab cannot open JVM library.



% MODEL=i686 scilab

--- OK, working.


The problem is that the script uses "uname -a" to find the MODEL.
"dpkg-architecture -qDEB_HOST_ARCH" may be better for debian systems.


Thanks,

Nicolas.





More information about the debian-science-maintainers mailing list