[scilab-Users] Re: Scilab 5.2.0 beginner question

Sylvestre Ledru sylvestre.ledru at scilab.org
Wed Dec 23 17:08:10 CET 2009


I confirm that is not a Scilab issue but a SELinux configuration
problem.

To allow the startup of Scilab, please do:
# chcon -t textrel_shlib_t
'/path/to/Scilab/Binary/thirdparty/java/lib/i386/server/libjvm.so'

=> You might need to adapt the path if you are using a 64 bits CPU.
and
# chcon -t execmem_exec_t '/path/to/Scilab/Binary/bin/scilab-bin'

Sylvestre


Le mardi 22 décembre 2009 à 14:37 +0100, Sylvestre Ledru a écrit :
> Hello guys,
> 
> Thanks for your feedback.
> It is most probably selinux which is messing around.
> 
> Could you try:
> find thirdparty/java/ -iname "*.so" -exec execstack -c {} \;
> and let me know if it is working or not ?
> 
> Thanks
> Sylvestre
>  
> 
> Le lundi 21 décembre 2009 à 14:13 -0500, Srikanth Gururajan a écrit :
> > Hi,
> > here is the output as requested by Sylvestre Ledru:
> > 
> > [root at Surya bin]# SCIVERBOSE=1 ./scilab
> > SCILABBIN : scilab-bin
> > DISABLE_JAVA_DETECTION : 0
> > SCILAB_MODE : gui
> > SCI : /root/Downloads/scilab-5.2.0/share/scilab
> > SCIBIN : ./scilab-bin
> > PATH : /root/Downloads/scilab-5.2.0/bin:.:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/lib/alliance/bin:/usr/libexec/sdcc:/root/bin:/usr/lib/alliance/bin:/usr/libexec/sdcc:/root/Downloads/scilab-5.2.0/share/scilab/modules/scicos/
> > LD_LIBRARY_PATH : /root/Downloads/scilab-5.2.0/share/scilab/bin:/root/Downloads/scilab-5.2.0/share/scilab/lib/scilab/:/root/Downloads/scilab-5.2.0/share/scilab/lib64/scilab/:/root/Downloads/scilab-5.2.0/lib/scilab:/root/Downloads/scilab-5.2.0/lib/thirdparty:/root/Downloads/scilab-5.2.0/thirdparty/java/lib/i386:/root/Downloads/scilab-5.2.0/thirdparty/java/lib/i386/server:/root/Downloads/scilab-5.2.0/thirdparty/java/lib/i386/native_threads:/usr/lib/alliance/lib:/usr/lib/alliance/lib:/usr/lib
> > 
> > Could not load JVM dynamic library (libjava).
> > 
> > Scilab cannot open JVM library.
> > [root at Surya bin]#
> > 
> > Thanks for all your help...
> > Srik.
> > 
> > On Mon, Dec 21, 2009 at 2:04 PM, Huub van Niekerk
> > <huubvanniekerk at gmail.com> wrote:
> >         On Sun, 20 Dec 2009 16:02:19 +0100, Mathieu Dubois wrote:
> >         
> >         > Hello,
> >         >
> >         > Obvious question: did you install any JVM?
> >         >
> >         > I have not tried 5.2 yet but 5.1.1 works fine under fedora
> >         12.
> >         
> >         
> >         Actually I have the same message about java, and I do have JDK
> >         from Sun
> >         installed. Earlier versions just work using bin/scilab.
> >         
> >         As for the output requested by Sylvestre Ledru:
> >         
> >         # SCIVERBOSE=1 ./bin/scilab
> >         SCILABBIN : scilab-bin
> >         DISABLE_JAVA_DETECTION : 0
> >         SCILAB_MODE : gui
> >         SCI : /opt/scilab-5.2.0/share/scilab
> >         SCIBIN : ./bin/scilab-bin
> >         PATH : /opt/scilab-5.2.0/bin:./bin:/usr/lib/qt-3.3/bin:/usr/kerberos/
> >         sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/
> >         sbin:/sbin:/opt/real/RealPlayer:/home/huub/bin:/opt/real/RealPlayer:/opt/
> >         real/RealPlayer:/opt/scilab-5.2.0/share/scilab/modules/scicos/
> >         LD_LIBRARY_PATH : /opt/scilab-5.2.0/share/scilab/bin:/opt/scilab-5.2.0/
> >         share/scilab/lib/scilab/:/opt/scilab-5.2.0/share/scilab/lib64/scilab/:/
> >         opt/scilab-5.2.0/lib/scilab:/opt/scilab-5.2.0/lib/thirdparty:/opt/
> >         scilab-5.2.0/thirdparty/java/lib/i386:/opt/scilab-5.2.0/thirdparty/java/
> >         lib/i386/server:/opt/scilab-5.2.0/thirdparty/java/lib/i386/native_threads
> >         
> >         Could not load JVM dynamic library (libjava).
> >         
> >         Scilab cannot open JVM library.
> >         
> >         [root at Ladysmith scilab-5.2.0]#
> >         
> >         Thanks
> >         
> > 
> > 
> > 
> > -- 
> > Think Geometrically!!!
> 
> 


-- 
Sylvestre Ledru
-------------------------
The Scilab Consortium
Digiteo
Domaine de Voluceau
Rocquencourt - B.P. 105
78153 Le Chesnay Cedex
France






More information about the users mailing list