michelle <[email protected]> writes:

> Hi! 
> Thanks so much in advance! 
> I have successfully installed pyopencl 
> with the configure.py variables --cl-inc-dir 
> and --cl-lib-dir set to my AMD app provided 
> headers and libraries. 
>
> But when I try to import pyopencl, it runs
>  into an ImportError importing _cffi, and
>  the exact output is 
>
> libOpenCL.so.1: cannot open shared object file: No such file or directory
>
> I browsed through the pyopencl package 
> (it installed to my anaconda site-packages folder) 
> and I see a _cffi.py and a _cffi.so. The .py
>  is only a bootstrap loader for the _cffi.so file. 
>
> What isn't linked? I tried linking boost, 
> but the man for configure.py does not indicate that 
> boost-inc-dir or boost-lib-dir are viable options.

You shouldn't worry about boost--all the necessary parts are included.

Try finding the libOpenCL.so.1 that got installed with your APP
kit. Let's call that THAT_FOLDER. Then run

export LD_LIBRARY_PATH=THAT_FOLDER:$LD_LIBRARY_PATH

Andreas

_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to