Hi,

I just tried to install pytables 2.2.1 from source;

I did python setup.py build_ext --inplace --hdf5=python setup.py install
--hdf5=~/lib/hdf5/ --lflags="-Xlinker -rpath -Xlinker ~/lib/hdf5/lib
then, python setup.py install

tests ran successfully when started from the root directory of the
distributed tarball, but not from my python install; in fact "import
tables" failed after install, with a message about a missing symbol in
linkExtension.so.

I checked setup.py, and found a place where it says
CFLAGS.append("-DH5_USE_16_API") in the case of using hdf5 1.8 (as in my
case) When changing this to CFLAGS.append("-DH5_USE_18_API") I am able
to install and import tables.

Is this a bug in setup.py?

N.

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to