Bug#1031080: nvidia-driver: OpenCL compiler dorsn't wok since version 520

Krzysztof Marczak buddhi1980 at gmail.com
Mon Feb 13 14:31:31 GMT 2023


I have also tested it with libnvidia-nvvm4 installed. I got exactly the same 
result.
It could be a problem with wrong the path for  libnvidia-nvvm.so.4. After 
installation of the package it is located here:

/usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-nvvm.so.4
/usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-nvvm.so.525.85.12

But the nvidia compiller is looking of the library here:

/lib/x86_64-linux-gnu/libnvidia-nvvm.so.525.85.12
/usr/lib/x86_64-linux-gnu/libnvidia-nvvm.so.525.85.12
/lib/libnvidia-nvvm.so.525.85.12
/usr/lib/libnvidia-nvvm.so.525.85.12

When in created symlinks to the files libnvidia-nvvm.so.4 and libnvidia-
nvvm.so.525.85.12 in /usr/lib/x86_64-linux-gnu/ the OpenCL compiler started to 
work properly. 

So installation of  libnvidia-nvvm4 and creating symlinks is actual 
workaround. 



More information about the pkg-nvidia-devel mailing list