A Dilluns 28 Agost 2006 02:56, Conor Robinson va escriure:
> Update: I changed my h5 source too /hdf5 and set my env var HDF5_DIR
> to look there, everything compiled fine.  I also re-compiled hdf5 on
> my machine to make sure.  Then I got this after I rebooted and flushed
> the pram.
>
> >>> import tables
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File
> "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packa
>ges/tables/__init__.py", line 31, in ?
>     from tables.utilsExtension import getPyTablesVersion, getHDF5Version
> ImportError: Failure linking new module:
> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packag
>es/tables/utilsExtension.so: Library not loaded:
> /Users/conor/desktop/hdf5-1.6.5/hdf5/lib/libhdf5.0.dylib
>   Referenced from:
> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packag
>es/tables/utilsExtension.so Reason: image not found
>
> What I found out is that python was looking for the hdf5 libs in the
> hdf5-1.6.5 dir I had downloaded to my desktop.  I copied the compiled
> /hdf5 back into the hdf5-1.6.5 on my desktop and everything works
> great, except for the fact my install is a little strange to say the
> least.

I think that you will need to define a environment variable to tell where are 
your dynamic libraries. The next do the trick in Linux:

export LD_LIBRARY_PATH=/hdf5/dir_where_your_dynamic_libraries_are

Check the docs of your compiler to check wich variable you should set in your 
platform.

Cheers,

-- 
>0,0<   Francesc Altet     http://www.carabos.com/
V   V   Cárabos Coop. V.   Enjoy Data
 "-"

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to