On Samstag 09 Januar 2010, Markus Mohr wrote:
> Hi!
> 
> I'm trying to install pyopencl on OSX 10.6. I've installed Boost 1.41
> and pyopencl 0.91.4. This is what I get when I run 'demo.py' from the
> examples:
> 
> Smithers:examples markus$ python demo.py
> Traceback (most recent call last):
>    File "demo.py", line 1, in <module>
>      import pyopencl as cl
>    File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/pyopencl-0.91.4-py2.6-macosx-10.3-fat.egg/
> pyopencl/__init__.py", line 3, in <module>
>      import pyopencl._cl as _cl
> ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.6/
> lib/python2.6/site-packages/pyopencl-0.91.4-py2.6-macosx-10.3-fat.egg/
> pyopencl/_cl.so, 2): Symbol not found:
> __ZNK5boost6python7objects21py_function_impl_base9max_arityEv
>    Referenced from: /Library/Frameworks/Python.framework/Versions/2.6/
> lib/python2.6/site-packages/pyopencl-0.91.4-py2.6-macosx-10.3-fat.egg/
> pyopencl/_cl.so
>    Expected in: dynamic lookup

My guess is your Boost headers don't match your Boost binaries. Use

otool -L /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-
packages/pyopencl-0.91.4-py2.6-macosx-10.3-fat.egg> pyopencl/_cl.so

to track down what Boost libraries get used, and if that matches your
expectations.

Andreas

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PyOpenCL mailing list
[email protected]
http://tiker.net/mailman/listinfo/pyopencl_tiker.net

Reply via email to