Hi Alex, just hold the 4 and 6 numbers together; not the "f4 and f6".
you should use the backward single quotes located on the key right to the z key: lipo -info `which python` if your boost directories are /usr/local/include and lib then type there: lipo -info * I see that your libboost_python.dylib is still linked to the system python version: > /System/Library/Frameworks/Python.framework/Versions/2.6/Python It should be linked to your just compiled python version: > /Library/Frameworks/YourPython.framework/Versions/2.6/YourPython You can change that by using sudo install_name_tool -change /System/Library/Frameworks/Python.framework/Versions/2.6/Python /Library/Frameworks/YourPython.framework/Versions/2.6/YourPython libboost_python.dylib Regards, Bart On Jan 29, 2010, at 10:17 PM, Alexandr Kuzmin wrote: > Hi Bart, > > Thank you for your help. > > 1. did you boot your macbook in 64bit mode? (holding the 4 and 6 key together > when you switch on the macbook) > > No. Do I need to hold 4 and 6 or f4 and f6? I need to boot in a 64bit mode? > > 2. what do you get when you type: > lipo -info 'which python' > lipo -info $HOME/pool/lib/* > > alexandr-kuzmins-macbook:pyopencl-0.91.4 shurik$ lipo -info 'which python' > lipo: can't open input file: which python (No such file or directory) > alexandr-kuzmins-macbook:pyopencl-0.91.4 shurik$ lipo -info 'which > /opt/local/bin/python2.6' > lipo: can't open input file: which /opt/local/bin/python2.6 (No such file or > directory) > alexandr-kuzmins-macbook:pyopencl-0.91.4 shurik$ lipo -info $HOME/pool/lib/* > lipo: can't open input file: /Users/shurik/pool/lib/* (No such file or > directory) > > My boost-directories are /usr/local/include and /usr/local/lib > > > 3. did you remove the i386 lines from setup.py in the pyopencl installation > directory? > > Yes. > > 4. are your libboost files linked to the correct python frameworks? check by > typing: > otool -L libboost_python.dylib > > alexandr-kuzmins-macbook:pyopencl-0.91.4 shurik$ otool -L > /usr/local/lib/libboost_python.dylib > /usr/local/lib/libboost_python.dylib: > libboost_python.dylib (compatibility version 0.0.0, current version > 0.0.0) > /System/Library/Frameworks/Python.framework/Versions/2.6/Python > (compatibility version 2.6.0, current version 2.6.1) > /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current > version 7.9.0) > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current > version 125.0.0) > > No, Let me try to recompile Boost with /opt/local/bin/python2.6 and I will > let you know how it goes. > > I know that feeling about going crazy with these kind of installations. It > also took me two weeks before finally being able to have pyopencl installed > on my iMac. So hold on! You're (probably) almost there! ;-) > > Thank you Bart, I really appreciate your help, > I will let you know the result when boost is recompiled. > > Cheers, > Alex
_______________________________________________ PyOpenCL mailing list [email protected] http://host304.hostmonster.com/mailman/listinfo/pyopencl_tiker.net
