lsegal / barracuda

Barracuda is a Ruby wrapper library for the OpenCL architecture.
http://gnuu.org
MIT License
114 stars 16 forks source link

undefined symbol clGetDeviceIDs #11

Open mistergibson opened 11 years ago

mistergibson commented 11 years ago

require 'barracuda' irb: symbol lookup error: /var/lib/gems/1.9.1/gems/barracuda-1.3/ext/barracuda.so: undefined symbol: clGetDeviceIDs (then dumps me out to shell)

Also: on my system OpenCL/OpenCL.h is /usr/include/CL/opencl.h

justinwsmith commented 10 years ago

Your OpenCL shared libraries probably aren't configured to be on the loader's search paths. Try running 'ldconfig -p | grep OpenCL'. If my suspicions are correct, you won't see any output. The simplest (temporary) fix would be to set the $LD_LIBRARY_PATH environment variable.