Bug 1473914

Summary: linking with -lOpenCL fails
Product: [Fedora] Fedora Reporter: Bernhard Schuster <redhat.bugzilla>
Component: beignetAssignee: Igor Gnatenko <ignatenko>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 26CC: ignatenko
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-22 10:06:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bernhard Schuster 2017-07-22 10:02:32 UTC
Description of problem:
can not link against OpenCL, despite 

beignet
beignet-devel
ocl-icd
clinfo
mesa-libOpenCL
opencl-utils
opencl-headers

are installed

I needed to do 

cd /usr/lib64
ln -s libOpenCL.so.1.0.0 libOpenCL.so

to make it work

Version-Release number of selected component (if applicable):
 beignet-devel-1.3.1-3.git20170622.36f6a8b.fc26.x86_64


How reproducible:
ALways

Actual results:
linking against -lOpenCL fails

Expected results:
linking against -lOpenCL works after installing beignet-devel and beignet

Additional info:
used to work in f25

Comment 1 Igor Gnatenko 2017-07-22 10:06:41 UTC
install ocl-icd-devel. that's where OpenCL library is.