Hi Mike,

A Wednesday 17 September 2008, Michael Hearne escrigué:
> Hi, new to the list.  I'm trying to get pytables installed on a Red
> Hat Enterprise system, with a local copy of python 2.5.  Pytables
> _seems_ to install successfully, giving me the output below.
>
> However, when I try to use pytables, I get an error saying
> "ImportError: libhdf5.so.5: cannot open shared object file: No such
> file or directory".  Why does the installation process show that it
> knows where the libraries are but the usage fail to find them??

Because you have directed it how to find the HDF5 libraries in 
compilation time (via the the --hdf5 flag), but not how to find them in 
execution time.  There are many ways to do this in Linux, but I 
normally use the LD_LIBRARY_PATH environment variable to point to where 
your libhdf5.so.5 file is.  For example:

$ export LD_LIBRARY_PATH=/usr/local/hdf5/lib

or similar, should work.  See the man page for 'ld' (the GNU linker) for 
more info on loading dynamic libraries.

HTH,

-- 
Francesc Alted
Freelance developer
Tel +34-964-282-249

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to