Hi Milos, A Wednesday 14 January 2009, Milos Ilak escrigué: > Hi all, > > I realize it's been almost six months since I started this thread, > but I just wanted to let people know that I figured out what my issue > was last night, in case someone else was having similar problems. I > seldom need to run my codes on my personal computer, so it wasn't an > urgent issue for me to resolve until now -- I have to show some demos > in a presentation from my laptop tomorrow. I am now using PyTables > 2.1 and HDF5 1.8.2, although the > > problem was version-independent. The problem I was having: > > >> ImportError: dlopen(tables/utilsExtension.so, 2): Symbol not > > >> found: > > _compress2 > > was due to the fact that enabling Fortran support when compiling HDF5 > disables the shared library, and it is needed by PyTables. Since I > use Python, C++ and Fortran codes, and they all need HDF5, I kept > compiling HDF5 with Fortran support until I noticed that the shared > library wasn't there (even when I tried the --enable-shared flag) and > that PyTables couldn't find it -- there was even a warning issued by > the setup.py script which I had ignored.
Thanks for the heads up. I'll try to add an entry FAQ describing this problem (and your solution). > So now I can use PyTables after re-installing HDF5 without Fortran > support. Since I don't use my Fortran code on my laptop, I can live > with that, but I e-mailed HDF5 support to see if there is a solution > (a more elegant one than simply having two different locations with > HDF5, with and without Fortran), and I am including my correspondence > with them below. Best, Please, keep us informed if THG finally can fix the shared library w/ Fortran issue. Cheers, -- Francesc Alted ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users