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
""
signature.asc
Description: Digital signature
------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/pytables-users
