That makes a lot of sense, and that's why it's a warning not fatal error.  
However, I cannot get the runtime library (libhdf5.so.5?) when running my 
program even I set the LD path environments.  I even copied libhdf5.so.5 to 
/usr/local/lib and still no success.  I think I'm going to rebuild pytables, 
thinking it probably got some unusual path when I first built it.  Thanks for 
the help!

Jianfu


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Ivan Vilata i Balaguer
Sent: Sat 5/10/2008 5:33 PM
To: pytables-users@lists.sourceforge.net
Subject: Re: [Pytables-users] pytables install problem
 
Pan, Jianfu (GSFC-610.2)[ADNET] (el 2008-05-10 a les 15:42:46 -0500) va dir::

> I'm jumping into the pytables/HDF5 world, but I'm having problem
> installing it.  I have HDF5 installed in /usr/local/hdf5, which
> contains three subdirectories: bin, include and lib.  When I tried to
> install pytables (with HDF5_DIR set), I got the following message:
>    * Found HDF5 headers at ``/usr/local/hdf5/include``, library at 
>     ``/usr/local/hdf5/lib``.
>    .. WARNING:: Could not find the HDF5 runtime.
>    The HDF5 shared library was *not* found in the default library
>    paths. In case of runtime problems, please remember to install it.
> I think it's looking for libhdf5.so.5 which is in /usr/local/hdf5/lib.
> I don't understand why HDF5_DIR didn't take care of it.  Any help will
> be greatly appreciated.

The setup script only looks for dynamic (runtime) libraries in the
default locations under Unix-like systems.  They aren't really needed
during compilation, so the warning is just an indication that you *may*
have problems when *running* a program using PyTables.

The way to avoid runtime problems depends on your system.  For instance,
under GNU/linux you should set the LD_RUN_PATH environment variable to
include ``/usr/local/hdf5/lib``.  In fact, if you set it *before*
building, the path gets harcoded into the generated libraries so you no
longer need the variable.

So, regardless of the warning message, are you actually having problems
*running* your PyTables-based application?

Cheers,

::

        Ivan Vilata i Balaguer   >qo<   http://www.carabos.com/
               Cárabos Coop. V.  V  V   Enjoy Data
                                  ""

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to