<html>
<head>
<base href="http://bugzilla.scilab.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Reporter</th>
<td>buptliuhs@gmail.com</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - javasci failed to run on Linux"
href="http://bugzilla.scilab.org/show_bug.cgi?id=13832">13832</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>javasci failed to run on Linux
</td>
</tr>
<tr>
<th>Product</th>
<td>Scilab software
</td>
</tr>
<tr>
<th>Version</th>
<td>YaSp GIT version (Scilab 6 dev.)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux_x64
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Blocker
</td>
</tr>
<tr>
<th>Component</th>
<td>Documentation pages
</td>
</tr>
<tr>
<th>Assignee</th>
<td>bugzilla.admin@scilab.org
</td>
</tr>
</table>
<p>
<div>
<pre>BUG DESCRIPTION:
----------------
DOC: <a href="https://help.scilab.org/docs/5.5.2/en_US/compile_and_run_javasci_v2.html">https://help.scilab.org/docs/5.5.2/en_US/compile_and_run_javasci_v2.html</a>
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:
------------------</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>