[Scilab-users] call_scilab link error (libscicore missing? in the bin folder)
Sylvestre Ledru
sylvestre.ledru at scilab-enterprises.com
Fri Sep 6 14:37:38 CEST 2013
On 06/09/2013 14:28, quantparis at numericable.fr wrote:
> Hello
>
> I start to use scilab and want to use call_scilab., but I get the
> following linking problem:
>
> I downloaded and extract the following file
> scilab-5.4.1.bin.linux-x86_64.tar.gz
> execute:
> ~/scilab-5.4.1/bin/scilab
>
> then for call_scilab:
>
> according to the documentation:
> In the binary version of Scilab, CFLAGS must be set to
> /path/to/scilab/include/scilab/core/ and
> /path/to/scilab/include/scilab/call_scilab
>
> but in the downloaded file the core subdirectory is not present
>
> and according to another source:
> http://gitweb.scilab.org/?p=scilab.git;a=blob;f=scilab/Makefile.call_scilab.am;h=b3a3b8baaa1563dc1f73cc262b97987a74605af8;hb=HEAD
>
> it seems that there are 3 lib to link:
> libscilab.so,libscicall_scilab.so et libscicore.so (this one is absent)
>
>
> so in the C++ IDE I specified the following things:
> for include:
> scilab-5.4.1/include/scilab
> for lib:
> scilab-5.4.1/lib.scilab/libscilab.so
> scilab-5.4.1/lib.scilab/libscicall_scilab.so
What is your Linux distribution ?
Try to give this option to the linker:
--no-as-needed (or -Wl,--no-as-needed)
Sylvestre
More information about the users
mailing list