Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 560028

Summary: dev-python/pyopencl-2014.1 rebuild cannot find -lOpenCL
Product: Gentoo Linux Reporter: Fedja Beader <fedja>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED OBSOLETE    
Severity: normal CC: fedja
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: pyopencl build
emerge --info

Description Fedja Beader 2015-09-09 10:35:58 UTC
rebuild due to python3_3 -> python 3_4 change

[ebuild   R    ] dev-python/pyopencl-2014.1::gentoo  USE="opengl -examples" PYTHON_TARGETS="python2_7 python3_4* -python3_3*" 0 KiB


the problem:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lOpenCL


# find /usr/lib* /lib* -iname "*libOpenCL*"
/usr/lib32/libOpenCL.so
/usr/lib64/libreoffice/program/libopencllo.so
/usr/lib64/debug/usr/lib64/libreoffice/program/libopencllo.so.debug
/usr/lib64/debug/usr/lib64/OpenCL/vendors/mesa/libOpenCL.so.1.0.0.debug
/usr/lib64/libOpenCL.so
/usr/lib64/OpenCL/vendors/mesa/libOpenCL.so.1
/usr/lib64/OpenCL/vendors/mesa/libOpenCL.so.1.0.0
/usr/lib64/OpenCL/vendors/mesa/libOpenCL.so




running ldconfig does not fix it
running python-updater returns nothing to do



Reproducible: Always
Comment 1 Fedja Beader 2015-09-09 10:37:41 UTC
Created attachment 411394 [details]
pyopencl build
Comment 2 Fedja Beader 2015-09-09 10:38:14 UTC
Created attachment 411396 [details]
emerge --info
Comment 3 Pacho Ramos gentoo-dev 2017-07-14 15:23:39 UTC
please retry with 2016.1
Comment 4 Pacho Ramos gentoo-dev 2018-06-24 16:56:37 UTC
I suffer now this with 2017.2
Comment 5 Pacho Ramos gentoo-dev 2018-06-26 17:41:07 UTC
it is because I needed to eselect a opencl implementation
Comment 6 Marek Szuba (RETIRED) archtester gentoo-dev 2020-06-26 15:59:33 UTC
virtual/opencl now depends on ICD loaders rather than OpenCL implementations + eselect-opencl so libOpenCL is now always in $libdir.