13

I'm trying to run DaVinci Resolve on Centos 7, but when I start the program from the terminal I get the following error:

error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory

As best as I can tell, the library isn't installed on my system. When I tried to run yum install libOpenCl it said the library doesn't exist. How can I get this library installed on my machine?

Raviga
  • 131

3 Answers3

26

For Ubuntu, try:

How to install libOpenCL.so on Ubuntu

sudo apt update
sudo apt install ocl-icd-opencl-dev
guest
  • 261
  • 2
  • 3
1

hi I noticed that my Davinci Resolve crashed with an OpenCL Clang message so on ubuntu this fixed it for me sudo apt install libopencl-clang-dev

0

Note: Below answer is to those who came across dependency related error while installing Graphics / OpenCL related errors. Hope the post saves times for someone facing similar issue.

While installing a graphic application in command line, it returned with errors related to OpenCL and nVidia. And had spent lot of time searching for a solution.

To fix the error, you can run the below command in ubuntu terminal

sudo apt --fix-broken install
giri
  • 264