Public bug reported: Problem: The runtime OpenCL package ocl-icd-libopencl1 does not create a libOpenCL.so symlink. Consequently, when I deploy my OpenCL application on a client system, the application cannot find the OpenCL library. Strangely enough, the *development* OpenCL package ocl-icd-opencl-dev does create a libOpenCL.so symlink. So, I have to ask clients (who do not develop OpenCL) to install package ocl-icd-opencl-dev.
Proposed solution: The runtime OpenCL package ocl-icd-libopencl1 should create a libOpenCL.so symlink. Examples where the described problem occurs: https://github.com/tensorflow/tensorflow/pull/88020 https://askubuntu.com/a/796773/854911 https://askubuntu.com/a/1053559 https://unix.stackexchange.com/a/465573/374304 https://stackoverflow.com/a/23431884/7268445 https://unix.stackexchange.com/questions/535805/failed-to-load-library-libopencl-so-1-although-it-exists https://www.reddit.com/r/OpenCL/comments/tjzgep/comment/i2i7ree/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button https://community.khronos.org/t/unable-to-resolve-link-error/105042/4 Other info: Ubuntu 24.04.2 LTS https://packages.ubuntu.com/noble/ocl-icd-libopencl1 ocl-icd-libopencl1: Installed: 2.3.2-1build1 Candidate: 2.3.2-1build1 Version table: *** 2.3.2-1build1 500 500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages 100 /var/lib/dpkg/status ** Affects: ocl-icd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to ocl-icd in Ubuntu. https://bugs.launchpad.net/bugs/2111796 Title: Package ocl-icd-libopencl1 should create a symlink libOpenCL.so Status in ocl-icd package in Ubuntu: New Bug description: Problem: The runtime OpenCL package ocl-icd-libopencl1 does not create a libOpenCL.so symlink. Consequently, when I deploy my OpenCL application on a client system, the application cannot find the OpenCL library. Strangely enough, the *development* OpenCL package ocl-icd-opencl-dev does create a libOpenCL.so symlink. So, I have to ask clients (who do not develop OpenCL) to install package ocl-icd-opencl-dev. Proposed solution: The runtime OpenCL package ocl-icd-libopencl1 should create a libOpenCL.so symlink. Examples where the described problem occurs: https://github.com/tensorflow/tensorflow/pull/88020 https://askubuntu.com/a/796773/854911 https://askubuntu.com/a/1053559 https://unix.stackexchange.com/a/465573/374304 https://stackoverflow.com/a/23431884/7268445 https://unix.stackexchange.com/questions/535805/failed-to-load-library-libopencl-so-1-although-it-exists https://www.reddit.com/r/OpenCL/comments/tjzgep/comment/i2i7ree/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button https://community.khronos.org/t/unable-to-resolve-link-error/105042/4 Other info: Ubuntu 24.04.2 LTS https://packages.ubuntu.com/noble/ocl-icd-libopencl1 ocl-icd-libopencl1: Installed: 2.3.2-1build1 Candidate: 2.3.2-1build1 Version table: *** 2.3.2-1build1 500 500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages 100 /var/lib/dpkg/status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ocl-icd/+bug/2111796/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp