https://bugs.kde.org/show_bug.cgi?id=414247

            Bug ID: 414247
           Summary: digikam: error while loading shared libraries:
                    libcudart.so.8.0
           Product: digikam
           Version: 7.0.0
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: digikam-bugs-n...@kde.org
          Reporter: val...@free.fr
  Target Milestone: ---

SUMMARY
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
    digikam: error while loading shared libraries: libcudart.so.8.0: cannot
open shared object file: No such file or directory
    hippo@hippo-camp:~$ which digikam
    /usr/bin/digikam
    hippo@hippo-camp:~$ lddtree /usr/bin/digikam
    digikam => /usr/bin/digikam (interpreter => /lib64/ld-linux-x86-64.so.2)
    - libdigikamgui.so.5.6.0 => /usr/lib/digikam/libdigikamgui.so.5.6.0
    -- 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 (? not sure) 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.
This should work no?

    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 anymore so the error is not the library path.

How can I fix this situation?


STEPS TO REPRODUCE
1. launch digikam in console or gui
2. app does not start and throws error message above
3. 

OBSERVED RESULT
cant start app and reinstall does not solve dependency problem

EXPECTED RESULT
reinstall should fix the problem

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: UBUNTU 18.04 LTS

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to