Role François <francois.role@...> writes: > > Hello,I followed http://wiki.tiker.net/PyOpenCL/Installation/Linux/Ubuntu and seemed to sucessufully install pyopencl.Numpy and boost are also installed and I am running Ubuntu 9.10.However, when writing :import pyopencl._cl as _clI get the following error message :...ImportError: libOpenCL.so: cannot open shared object file: No such file or directory- My LD_LIBRARY_PATH seems to be ok : /usr/local/lib:/home/froloe/tools/opencl/ati-stream-sdk-v2.2-lnx32/lib/x86: > - ldd _cl.so indicates : libOpenCL.so => /home/froloe/tools/opencl/ati-stream-sdk-v2.2-lnx32/lib/x86/libOpenCL.so (0xb7772000)Many thanks in advance for any clue you can give me,François
Are you running python from the pyopencl directory you used to build and install the module? If so, you are importing the pyopencl that's in the build tree, not the one you just installed. I do this from time to time when I am building and testing...I have to remember to change to a different directory when I want to fire up python and see if "import pyopencl" works yet :-) --Keith Brafford _______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
