When I launch digikam I get an error about a cuda
missing library (this is happening since I removed cuda
more or less cleanly to solve something else):
hippo@hippo-camp:~$ digikam<BR>
digikam: error while loading shared libraries: libcudart.so.8.0: cannot open shared object file: No such file or directory<BR>
hippo@hippo-camp:~$ which digikam<BR>
/usr/bin/digikam<BR>
hippo@hippo-camp:~$ lddtree /usr/bin/digikam<BR>
digikam => /usr/bin/digikam (interpreter => /lib64/ld-linux-x86-64.so.2)<BR>
- libdigikamgui.so.5.6.0 => /usr/lib/digikam/libdigikamgui.so.5.6.0<BR>
-- libopencv_core.so.3.2 => /usr/local/lib/libopencv_core.so.3.2
--- libcudart.so.8.0 => not found
as you can see libcudart
is a dependency of opencv
. I think it is linked to the face recognition feature which I don't really need.
How can I fix this? is there a way to install just the lib?
I have tried to reinstall cuda
from scratch but it only gives me version 9 or 10. And I cannot reinstall version 8 from NVIDIA site because I am now in 18.04.3 LTS and it is only supported on version 16.04.
I have tried --purge
and reinstall digikam
but it does not fix the problem.
sudo apt-get install libopencv-dev python3-opencv --reinstall
did not solve it neither.
EDIT: the library is not anymore on this machine and I don't have a cuda-8
directory anywhere.
How can I fix this situation?