[Bugzilla] [Bug 13832] New: javasci failed to run on Linux

bugzilla.admin at scilab.org bugzilla.admin at scilab.org
Mon Apr 20 14:23:22 CEST 2015


http://bugzilla.scilab.org/show_bug.cgi?id=13832
--------- Bug Summary -----------
javasci failed to run on Linux

---------- Changed by ------------
buptliuhs at gmail.com

---------- What changed ----------
bug_id, short_desc, product, version, rep_platform, op_sys, bug_status, bug_severity, priority, component, assigned_to, reporter


            Bug ID: 13832
           Summary: javasci failed to run on Linux
           Product: Scilab software
           Version: YaSp GIT version (Scilab 6 dev.)
          Hardware: PC
                OS: Linux_x64
            Status: NEW
          Severity: Blocker
          Priority: P5
         Component: Documentation pages
          Assignee: bugzilla.admin at scilab.org
          Reporter: buptliuhs at gmail.com

BUG DESCRIPTION:
----------------
DOC: https://help.scilab.org/docs/5.5.2/en_US/compile_and_run_javasci_v2.html

I did everything as the document says on Linux (Ubuntu 14.04 64 bits & CentOS 6.6), compilation is no problem, but when tried to run, following error
prompted:

I set all environment SCI, LD_LIBRARY_PATH, LIBRARY_PATH, PATH, java.library.path, classpath.

This issue prevents me from doing anything from Linux platform.

ERROR LOG:
----------

java -Djava.library.path=/home/hliu/scilab/share/scilab//../../lib/scilab/:/home/hliu/scilab/share/scilab//../../lib/thirdparty -cp
/home/hliu/scilab/share/scilab//modules/javasci/jar/org.scilab.modules.javasci.jar:/home/hliu/scilab/share/scilab//modules/types/jar/org.scilab.modules.types.jar:.
-DSCI=/home/hliu/scilab/share/scilab/ Example1
The native library javasci does not exist or cannot be found.
java.lang.UnsatisfiedLinkError: /home/hliu/scilab/lib/scilab/libjavasci2.so.5.5.2: libscilab.so.0: cannot open shared object file: No such file or
directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1855)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1122)
    at org.scilab.modules.javasci.Call_ScilabJNI.<clinit>(Unknown Source)
    at org.scilab.modules.javasci.Call_Scilab.SetFromJavaToON(Unknown Source)
    at org.scilab.modules.javasci.Scilab.initScilab(Unknown Source)
    at org.scilab.modules.javasci.Scilab.<init>(Unknown Source)
    at org.scilab.modules.javasci.Scilab.<init>(Unknown Source)
    at Example1.main(Example1.java:17)
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.scilab.modules.javasci.Call_ScilabJNI.SetFromJavaToON()V
    at org.scilab.modules.javasci.Call_ScilabJNI.SetFromJavaToON(Native Method)
    at org.scilab.modules.javasci.Call_Scilab.SetFromJavaToON(Unknown Source)
    at org.scilab.modules.javasci.Scilab.initScilab(Unknown Source)
    at org.scilab.modules.javasci.Scilab.<init>(Unknown Source)
    at org.scilab.modules.javasci.Scilab.<init>(Unknown Source)
    at Example1.main(Example1.java:17)
make: *** [all] Error 1

HOW TO REPRODUCE THE BUG:
-------------------------

Download: scilab-5.5.2.bin.linux-x86_64.tar.gz and compile and run example under folder "share/scilab/modules/javasci/examples/v2"

OTHER INFORMATION:
------------------

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20150420/9b050e6e/attachment.htm>


More information about the Bugzilla mailing list