Hi Jyh-Shyong, On Sonntag 14 Dezember 2008, Jyh-Shyong Ho wrote: > I just installed pycuda-0.90.2 on my computer and I got the following > error message when I ran the program test_drive.py: > > python test_drive.py > > Traceback (most recent call last): > File "test_driver.py", line 2, in <module> > import pycuda.driver as drv > File > "/usr/local/lib64/python2.5/site-packages/pycuda-0.90.2-py2.5-linux-x86_64. >egg/pycuda/driver.py", line 1, in <module> from _driver import * > ImportError: > /usr/local/lib64/python2.5/site-packages/pycuda-0.90.2-py2.5-linux-x86_64.e >gg/pycuda/_driver.so: undefined symbol: > _ZN5boost6python9converter8registry9push_backEPFPvP7_objectEPFvS5_PNS1_30rv >alue_from_python_stage1_dataEENS0_9type_infoE
Likely you have system boost headers installed (like in /usr/include). These probably got picked up for the build and then ended up mismatching those of a separately installed newer boost. Just deinstall the system-wide boost dev stuff using rpm. If that's not the case, then check with ldd /usr/local/lib64/python2.5/site-packages/pycuda-0.90.2-py2.5-linux- x86_64.egg/pycuda/_driver.so that the right boost library is getting picked up and report back. Also, why use an old version (0.90.2) of PyCuda? 0.91.1 is out and fixes numerous bugs. (and has more features) Andreas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyCuda mailing list PyCuda@tiker.net http://tiker.net/mailman/listinfo/pycuda_tiker.net