A Saturday 20 March 2010 10:40:05 Francesc Alted escrigué:
[clip]
> python
>
> >>import tables
>
> <snip>
> ImportError: libhdf5.so.0: cannot open shared object file: No such
> file or directory
>
>
> I will very much appreciate your ideas how to fix this.
This is most probably a problem in the directory look-up for HDF5 shared
library. Try with `ldd` tool to see if all the dependencies are seen. For
example, in my case I get:
$ ldd tables/linkExtension.so
linux-vdso.so.1 => (0x00007f78007d5000)
libhdf5.so.6 => /home/faltet/computacio/hdf5-1.8.4-
pre1/hdf5/lib/libhdf5.so.6 (0x00007f7800149000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f77ffeeb000)
libc.so.6 => /lib64/libc.so.6 (0x00007f77ffb90000)
libz.so.1 => /lib64/libz.so.1 (0x00007f77ff97a000)
libm.so.6 => /lib64/libm.so.6 (0x00007f77ff724000)
/lib64/ld-linux-x86-64.so.2 (0x00007f78007d6000)
You probably are getting something like:
linux-vdso.so.1 => (0x00007fffcd1ff000)
libhdf5.so.6 => not found
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9205b1a000)
libc.so.6 => /lib64/libc.so.6 (0x00007f92057bf000)
/lib64/ld-linux-x86-64.so.2 (0x00007f9205f85000)
So, you should fix the path to reach dynamic libraries. Do a `man ld` for
details, but setting LD_LIBRARY_PATH variable usually helps.
--
Francesc Alted
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users