How to run Scilab?

Hi, Scilab 6.1.0 was downloaded from scilab.org and after extract the files, try to run ./scilab in scilab-6.1.0/bin but show this:

scilab-bin: error while loading shared libraries: libldap-2.4.so.2: cannot open shared object file: No such file or directory

please help, need for homework.:\

Hi
Is libldap-2_4-2 installed?

Hi
OK it needs a ld config file in /etc/ld.so.conf.d called say scilab.conf

Depending on where the extracted tarball is you need to have <full_path_to_scilab>/lib/scilab and <full_path_to_scilab>/lib/thirdpaty

In my example I have scilab in /data/applications so I added a file containing;


cat /etc/ld.so.conf.d/scilab.conf

/data/applications/scilab-6.1.0/lib/scilab
/data/applications/scilab-6.1.0/lib/thirdparty 

Now once the file is in /etc/ld.so.conf.d directory run the command ldconfig, you need to be root user to create the file and run the command.

Hi
My bad :frowning: DON’T do above… it works fine until a reboot and broke network manager…

Hi
Ok, step one ensure libncurses5 is installed. Step two as root user create a softlink to the ldap library (openSUSE uses a _r suffix);


ln -s /usr/lib64/libldap_r-2.4.so.2.10.9 /usr/lib64/libldap-2.4.so.2
ldconfig

All should be good then…

I appreciate the attention given to this issue, i’ll try it, many thanks!:o

An older version of scilab won’t be sufficient?

https://software.opensuse.org/package/scilab

Else,
Another way would be to run TW in a virtual machine and install scilab from the same “science” repo.

Don’t forget to submit a request to the bugzilla asking for the latest (6.1.0) version of scilab.

TSU