Thanks for spending the time, with examples I can copy, to explain in detail why you have libOpenCL.so.
The version of darktable that had been experiencing OpenCL availability problems (4.6.1) is one I compiled my self on this PC. Running the first locate command you showed gives this result on this PC:
tony@MS-7D15:~$ ls -l locate libOpenCL.so
lrwxrwxrwx 1 root root 18 Sep 30 2021 /usr/lib/i386-linux-gnu/libOpenCL.so.1 → libOpenCL.so.1.0.0
-rw-r–r-- 1 root root 80124 Sep 30 2021 /usr/lib/i386-linux-gnu/libOpenCL.so.1.0.0
lrwxrwxrwx 1 root root 18 Aug 8 2023 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 → libOpenCL.so.1.0.0
-rw-r–r-- 1 root root 69288 Sep 30 2021 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0
lrwxrwxrwx 1 root root 14 Aug 8 2023 /usr/share/man/man7/libOpenCL.so.7.gz → libOpenCL.7.gz
lrwxrwxrwx 1 root root 18 Mar 19 08:35 /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/45/e66d066758b2a7b50a1cac032041fc1569c428f7cff988dcba554b3c035a191d/files/lib/x86_64-linux-gnu/libOpenCL.so.1 → libOpenCL.so.1.0.0
-rwxr-xr-x 2 root root 190344 Mar 11 19:39 /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/45/e66d066758b2a7b50a1cac032041fc1569c428f7cff988dcba554b3c035a191d/files/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0
libOpenCl.so is not listed.
See also this screen shot:
Again, libOpenCL.so does not appear.
And I certainly was not aware that I had to install the package ocl-icd-opencl-dev:amd64:
prior to compiling darktable. Even now Synaptic tells me that this package is not installed
yet somehow my compiled version of dt 4.6.1 has OpenCL support in it. I don’t understand how this can be.