Bug 1473914 - linking with -lOpenCL fails
Summary: linking with -lOpenCL fails
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: beignet
Version: 26
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Igor Gnatenko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-22 10:02 UTC by Bernhard Schuster
Modified: 2017-07-22 10:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-22 10:06:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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