Hi again Sorry to have bothered.
Turns out if was my poor reading skills that caused my predicament. The user manual actually states that you test the lib with PYTHONPATH=.:$PYTHONPATH python tables/tests/test_all.py Well ... at least I can confirm that the old idea of "debug by confession" still works. Again, sorry for the premature posting /Fredrik 2009/4/20 Fredrik Fall <fredrik.f...@gmail.com>: > 2009/4/20 Francesc Alted <fal...@pytables.org>: >> Hello Fredrik, >> >> A Monday 20 April 2009, Fredrik Fall escrigué: >>> Hello >>> >>> >>> I'm very interested in trying out PyTables. However I've seem to have >>> run into problems from the start. >>> >>> I'm very sorry if this is the wrong forum for this question! >>> >>> >>> >>> Here goes: >>> >>> When running the self tests I get: >>> >>> ~/build/tables-2.1.1/tables/tests > python test_all.py >>> Traceback (most recent call last): >>> File "test_all.py", line 17, in ? >>> import tables >>> File >>> "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site >>>-packages/tables/__init__.py", line 56, in ? >>> from tables.utilsExtension import getPyTablesVersion, >>> getHDF5Version ImportError: Failure linking new module: >>> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- >>>packages/tables/utilsExtension.so: Symbol not found: _H5T_STD_I64LE_g >>> Referenced from: >>> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- >>>packages/tables/utilsExtension.so Expected in: dynamic lookup >>> >>> My python: >>> >python -V >>> >>> Python 2.4.4 >>> >>> >which python >>> >>> /Library/Frameworks/Python.framework/Versions/Current/bin/python >>> >>> >file >>> > /Library/Frameworks/Python.framework/Versions/Current/bin/python >>> >>> /Library/Frameworks/Python.framework/Versions/Current/bin/python: >>> Mach-O universal binary with 2 architectures >>> /Library/Frameworks/Python.framework/Versions/Current/bin/python (for >>> architecture i386): Mach-O executable i386 >>> /Library/Frameworks/Python.framework/Versions/Current/bin/python (for >>> architecture ppc): Mach-O executable ppc >>> >>> >>> The following seem to indicate to me that the symbol is present >>> >>> ~/build/tables-2.1.1/ > nm >>> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- >>>packages/tables/utilsExtension.so >>> >>> |grep _H5T_STD_I64LE_g >>> >>> U _H5T_STD_I64LE_g >>> >>> >>> Any hints on what might cause this error, or something I might have >>> done wrong? >> >> Mmh, I'm afraid that we will need more info so as to be able to help >> you. Specifically, which version of the HDF5 library do you have and >> how have you compiled it? And more importantly, can you tell us how >> did you compile PyTables itself (and your version)? >> > > I've used the latest stable HDF5, 5-1.8.2 downloaded from > ftp.hdfgroup.org/HDF5/current/src/hdf5-1.8.2.tar.gz > > I've built it with > ./configure --prefix=/usr/local && make && sudo make install > > I have attached the output of configure to this mail (if the list > supports attachments.) > > I then set HDF5_DIR=/usr/local > and run (as described by the user manual) > > ~/build/tables-2.1.1 > python setup.py build_ext --inplace > > * Found numpy 1.3.0 package installed. > * Found HDF5 headers at ``/usr/local/include``, library at ``/usr/local/lib``. > ... > > Everything works fine. > > I then run the test suite (python tables/tests/test_all.py) > and get the error message I posted above. > > If there's any other info about my system or tools you would like, > please ask and I will provide it. > > > Best regards > > /Fredrik > ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users