Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#31109 - [boost-libs] Cannot use python-pyopencl due to undefined symbols in libboost_python.so
Attached to Project:
Arch Linux
Opened by Lukas Redynk (erdk) - Saturday, 11 August 2012, 22:20 GMT
Last edited by Stéphane Gaudreault (stephane) - Wednesday, 09 January 2013, 01:11 GMT
Opened by Lukas Redynk (erdk) - Saturday, 11 August 2012, 22:20 GMT
Last edited by Stéphane Gaudreault (stephane) - Wednesday, 09 January 2013, 01:11 GMT
|
DetailsI've encountered similar problem to: https://bugs.archlinux.org/task/22800
When I'm trying to import 'pyopencl' in python 3.2.3 I see this error: >>> import pyopencl Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.2/site-packages/pyopencl/__init__.py", line 4, in <module> import pyopencl._cl as _cl ImportError: /lib/libboost_python.so.1.50.0: undefined symbol: PyClass_Type But everything works fine for python2-pyopencl, apparently boost is not compiled with Python3 support. |
This task depends upon
Closed by Stéphane Gaudreault (stephane)
Wednesday, 09 January 2013, 01:11 GMT
Reason for closing: Fixed
Additional comments about closing: Patch applied. Thanks.
Wednesday, 09 January 2013, 01:11 GMT
Reason for closing: Fixed
Additional comments about closing: Patch applied. Thanks.
Ionuț : Is there something that would prevent us from building boost with python 3.3.0 ?
python -c 'import pylux'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: /usr/lib/libboost_python.so.1.50.0: undefined symbol: PyClass_Type
You probably must compile lib-boost also with the python3 protocol.
python2-pyopencl works fine.
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-3-63105a952239> in <module>()
----> 1 import pyopencl
/usr/lib/python3.3/site-packages/pyopencl/__init__.py in <module>()
2
3 try:
----> 4 import pyopencl._cl as _cl
5 except ImportError:
6 import os
ImportError: /usr/lib/libboost_python.so.1.50.0: undefined symbol: PyClass_Type