[Scilab-Dev] Compilation of 5.2.1 under ubuntu 9.10

Guilherme Kunigami kunigami at gmail.com
Sun Mar 21 20:59:03 CET 2010


Thank you,

I've downloaded the binaries and added the remaining libs. Sorry for
the newbie question, but why it does not suffice to get libhdf5
through synaptic to get those libraries?

On Sun, Mar 21, 2010 at 6:59 AM, xendo <xendoo at gmail.com> wrote:
> get the binaries from here
> http://www.scilab.org/products/scilab/download, after extracting you
> should find packages you need in bin/ copy them (*hdf5*) to
> $SCILAB_HOME_scr/lib/. It's solved the problem for me.
>
> On 21 March 2010 00:54, Guilherme Kunigami <kunigami at gmail.com> wrote:
>> Jean-Pierre Dussault wrote:
>>>
>>> Sylvestre Ledru a écrit :
>>>>
>>>> Le vendredi 12 mars 2010 à 13:22 -0500, Jean-Pierre Dussault a écrit :
>>>>
>>>>>
>>>>> Sylvestre Ledru a écrit :
>>>>>
>>>>>>
>>>>>> Le vendredi 12 mars 2010 à 11:11 -0500, Jean-Pierre Dussault a écrit :
>>>>>>
>>>>>>>
>>>>>>> Hi!
>>>>>>>
>>>>>>> I wish to compile scilab 5.2.1, but the configure crashes with the
>>>>>>> message:
>>>>>>>        configure: error: libjhdf5: Library missing (Cannot find
>>>>>>>        symbol h5JNIFatalError). Check if libjhdf5 - C/Java (JNI)
>>>>>>>        interface for HDF5 - is installed and if the version is
>>>>>>>        correct. Note that you might have to update
>>>>>>>        etc/librarypath.xml to provide the actual path the the JNI
>>>>>>>        libraries.
>>>>>>> Can someone please point out a work around for this problem. I saw
>>>>>>> that the library is provided under thirdparty, but have no idea on
>>>>>>> what to change for having it detected.
>>>>>>>
>>>>>>
>>>>>> The libjhdf5.so library should be available in the search patch of the
>>>>>> library. You can put this lib into scilab/source/tree/bin/
>>>>>> It should fix this problem.
>>>>>>
>>>>>
>>>>> Uh,  I don't quite understand "scilab/source/tree/bin"...
>>>>>
>>>>
>>>> It is what I meant.
>>>>
>>>>
>>>>>
>>>>> In SCILAB_HOME/bin, I have:
>>>>>
>>>>>    dussault at dussault-laptop:~/import/TstScilab/scilab-5.2.1src/bin$ ls
>>>>>    Atlas.spec  libgluegen-rt.so  libjogl_awt.so  libjogl.so
>>>>>  scilab-adv-cli
>>>>>    bin.iss     _libjhdf5.so_       libjogl_cg.so   scilab
>>>>>  scilab-cli
>>>>>
>>>>>    and it is readeable:
>>>>>    -rw-r--r-- 1 dussault dussault  163604 2010-02-18 10:36 libjhdf5.so
>>>>>
>>>>
>>>> If the file is available, are you sure it is the right on architecture ?
>>>> (ie, libhdf5 is 32 bits for a 32 bits arch).
>>>> You can know that with the command file.
>>>>
>>>> Anyway, to get the real error message which was causing the configure to
>>>> fail, have a look in the config.log. At the end, you will find the error
>>>> on the jhdf5 check.
>>>>
>>>
>>> The error is:
>>>
>>>    /usr/bin/ld: warning: libhdf5.so.6, needed by ./bin//libjhdf5.so,
>>>    not found (try using -rpath or -rpath-link)
>>>    ./bin//libjhdf5.so: undefined reference to `H5E_NOTHDF5_g'
>>>    ./bin//libjhdf5.so: undefined reference to `H5E_CALLBACK_g'
>>>    etc... many more undefined references...
>>>
>>> The file  prerequirements-scilab-5.2.1-src.tar.gz  does include
>>> bin/libjhdf5.so but NOT bin/libhdf5.so.6
>>> I copied all the  *hdf5* files from $SCILAB_HOME_bin/lib in
>>> $SCILAB_HOME_src/bin, and configure stopped complaining.
>>
>> Hi,
>>
>> I have the same problem here, but I don't know where is
>> $SCILAB_HOME_bin/lib. I have already installed Scilab debian package through
>>
>> $ apt-get install scilab
>>
>> and also got the dependencies
>>
>> $ apt-get build-dep scilab
>>
>> and also got the libhdf5 debian package but can' t find libhdf5.so.6.
>>
>> Thanks,
>>
>>>
>>> May I suggest to include all the required *hdf5* in
>>> prerequirements-scilab-5.2.1-src.tar.gz ?
>>>
>>> Previously, I compiled with success using the --without-hdf5 option to
>>> configure. Now, it compiles OK with hdf5.
>>>
>>> Thank you for pointing out to look at config.log.
>>>
>>> I have another question: why in the binary version is the path to the
>>> toolboxes
>>>
>>>    $SCILAB_HOME_bin/share/scilab/contrib
>>>
>>> while in the src version, it is
>>>
>>>    $SCILAB_HOME_src/contrib   ?
>>>
>>> Thank's again,
>>>
>>> JPD
>>>
>>>> Sylvestre
>>>>
>>>>
>>>>
>>>
>>
>>
>



-- 
Guilherme Kunigami



More information about the dev mailing list