Thanks for the insite Francesc,
Re-compiling hdf5 on my machine did the trick and it ignored ppc (
/usr/bin/ld: warning /hdf5-1.6.5/hdf5/lib/libhdf5.dylib cputype (7,
architecture i386) does not match cputype (18) for specified -arch
flag: ppc (file not loaded)
)
However, now that everything is installed im getting this when I try
and import tables:
Python 2.4.3 (#1, Mar 30 2006, 11:02:16)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import tables
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "tables/__init__.py", line 31, in ?
from tables.utilsExtension import getPyTablesVersion, getHDF5Version
ImportError: No module named utilsExtension
The utilsExtension.so is where its supposed to be in the tables
site-package folder, however python fails to see it. My install look
identical to my PPC install. Was utilsExtension compiled incorrectly
as well? If so is there a way to force all gcc lines to use i686? I
would actually like to force i686 on my hdf5 install as well...
Thank you,
Conor
On 8/26/06, Francesc Altet <[EMAIL PROTECTED]> wrote:
> Hi Conor,
>
> I'm not a Mac user, but will try to grasp what's going on there.
>
> A Dissabte 26 Agost 2006 05:52, Conor Robinson va escriure:
> > OS 10.4.7 (intel)
> > My install seems to go fine until setup seems to have trouble
> > recognizing my platform or a certain dir. Any advise would be much
> > appreciated. lhdf5??? See below...
> >
> > Thank you,
> > Conor
> [...]
> > * Found HDF5 headers at ``/usr/include``, library at ``/usr/lib``.
>
> Mmmm, it seems that HDF5 library is located at /usr/lib, which is fine...
>
> [...]
> > -L/usr/lib64 -L/usr/lib -L/usr/local/lib64 -L/usr/local/lib -lhdf5 -o
> > build/lib.macosx-10.4-fat-2.4/tables/hdf5Extension.so
> > /usr/bin/ld: warning -L: directory name (/lib64) does not exist
> > /usr/bin/ld: warning -L: directory name (/lib) does not /existusr/bin/
> > ld/: usrwarning/ bin-/Lld:: directorywarning -Lname: (directory
> > /namelib64 )( /doesusr /notlib64 )exist
> > does/ usrnot/ binexist/
> > ld/:usr/ bin/warningld :- Lwarning: -directoryL :name directory(
> > /namelib )( /doesusr /notlocal /existlib64
> > )/ usrdoes/ binnot/ ldexist:
> > /warningusr /-binL/:ld :directory forname architecture( /i386usr
> > //lib64usr)/ bindoes/ ldnot: existcan
> > '/tusr locate/ binfile/ ldfor:: warning --L:lhdf5
> > directory name (/usr/local/lib64) does not exist
> > /usr/bin/ld: for architecture ppc
>
> The output here got scrambled, but I'd say that this is saying that the linker
> is trying to locate the library for ppc while I understand that you are using
> a Mac Intel....
>
> OTOH, it might be possible that your hdf5 library is compiled for PPC
> platform. Can you double check on this?
>
> Finally, and just in case, try adding:
>
> -L /usr/bin
>
> at the end of your 'python setup.py install' command.
>
> HTH,
>
> --
> >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