From: Francesc A. <fa...@ca...> - 2005-08-30 17:00:52
|
Hi John, A Sunday 14 August 2005 03:18, John Pitney va escriure: > Hi, > > I'm having trouble installing PyTables 1.1 from the source tarball on my > Fedora Core 3 x86_64 machine with Python 2.3.4. > > To get the build to find my HDF5 libs, I had to change 'lib/lib' in > setup.py to 'lib64/lib' to reflect the location of my HDF5, zlib, etc. > libs. The build seems to go OK, but when I try running the tests, I get > the following: Mmm, I think it's time to add more directories in the search path list in setup.py. Would you mind to send me your modifications to setup.py so that I can figure out how to check for the new library dirs? > $ python test_all.py > Traceback (most recent call last): > File "test_all.py", line 166, in ? > import tables > File "/home/johnp/Desktop/pytables-1.1/tables/__init__.py", line 33, in > ? from tables.utilsExtension import \ > ImportError: /usr/lib64/libhdf5.so.0: undefined symbol: inflate > > > I tried running h5ls and l5dump installed from a binary HDF5 RPM on the > example HDF5 files, and they work OK. According to ldd, they are linked > to /usr/lib64/libhdf5.so.0. inflate is a function from zlib library. Please run ldd over libhdf5.so and check that all the shared libraries it depends on are accessible. > Maybe unrelated: > > If I do this in the tests directory: > > $ ( for f in *.h5 ; do echo $f ; h5dump $f 2>&1 ; done ) | less > > I see a message saying "h5dump error: unable to print data" after the > "DATA {" line on every dataset with a name starting with "tuple". Is > that normal? Yes, this unrelated. The problem here is that some of the files in test directory are compressed using LZO and UCL compressors which are unsupported by the native HDF5 as of now. However, PyTables can take care of them (try using ptdump, for example), so don't worry. Cheers, =2D-=20 >0,0< Francesc Altet =A0 =A0 http://www.carabos.com/ V V C=E1rabos Coop. V. =A0=A0Enjoy Data "-" |