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

2012-04-16 Thread Nicolas Schodet
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.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2011-07-24 Thread Sylvestre Ledru
Bonjour Laurent,

 A simple workaround is the following command:
 
 $ MODEL=i686 /usr/bin/scilab
OK
Could you try
SCIVERBOSE=1 /usr/bin/scilab ?

thanks,
S





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2011-06-27 Thread Laurent Bonnaud
Package: scilab
Version: 5.2.2-9
Severity: normal


Hi,

on a 32 bits Debian system that runs on a 64 bits kernel (for instance
the linux-image-2.6.32-5-amd64 Debian package), the scilab launch script
fails with this error message:


$ /usr/bin/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.


A simple workaround is the following command:

$ MODEL=i686 /usr/bin/scilab


-- System Information:
Debian Release: 6.0.2
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages scilab depends on:
ii  scilab-cli5.2.2-9Scientific software package - Comm
ii  scilab-full-bin   5.2.2-9Scientific software package for nu

Versions of packages scilab recommends:
ii  scilab-doc5.2.2-9Scientific software package (engli

Versions of packages scilab suggests:
ii  scilab-doc-fr 5.2.2-9Scientific software package (frenc
ii  scilab-doc-pt-br  5.2.2-9Scientific software package (Brazi

-- no debconf information

-- 
Laurent Bonnaud.
http://www.gipsa-lab.inpg.fr/page_pro.php?vid=96





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org