Bug 1473914 - linking with -lOpenCL fails
linking with -lOpenCL fails
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: beignet (Show other bugs)
26
x86_64 Linux
unspecified Severity high
: ---
: ---
Assigned To: Igor Gnatenko
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-22 06:02 EDT by Bernhard Schuster
Modified: 2017-07-22 06:06 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-07-22 06:06:41 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bernhard Schuster 2017-07-22 06:02:32 EDT
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 06:06:41 EDT
install ocl-icd-devel. that's where OpenCL library is.

Note You need to log in before you can comment on or make changes to this bug.