Ubuntu 18.04.3 : Digikam : error while loading shared libraries: libQt5Sql.so.5

Voici l’erreur en question :

cp: cannot stat '/snap/digikam/6/kf5/usr/share/mime': No such file or directory
Directory '/root/snap/digikam/6/.local/share/mime/packages' does not exist!
ERROR: update-mime-database /root/snap/digikam/6/.local/share/mime exited abnormally with status 1
/snap/digikam/6/usr/bin/digikam: error while loading shared libraries: libQt5Sql.so.5: cannot open shared object file: No such file or directory

Voici les informations de mon système :

arias@CYBERNEURONES:~$ sudo locate libQt5Sql.so.5
/snap/kde-frameworks-5-core18/32/usr/lib/x86_64-linux-gnu/libQt5Sql.so.5
/snap/kde-frameworks-5-core18/32/usr/lib/x86_64-linux-gnu/libQt5Sql.so.5.12
/snap/kde-frameworks-5-core18/32/usr/lib/x86_64-linux-gnu/libQt5Sql.so.5.12.3
/usr/lib/x86_64-linux-gnu/libQt5Sql.so.5
/usr/lib/x86_64-linux-gnu/libQt5Sql.so.5.9
/usr/lib/x86_64-linux-gnu/libQt5Sql.so.5.9.5
arias@CYBERNEURONES:~$ ldd /snap/digikam/6/usr/bin/digikam 
/snap/digikam/6/usr/bin/digikam: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.12' not found (required by /snap/digikam/6/usr/bin/digikam)
	linux-vdso.so.1 (0x00007ffd447d5000)
	libdigikamcore.so.6.4.0 => not found
	libdigikamdatabase.so.6.4.0 => not found
	libdigikamgui.so.6.4.0 => not found
	libQt5Sql.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Sql.so.5 (0x00007f400a869000)
	libKF5I18n.so.5 => /usr/lib/x86_64-linux-gnu/libKF5I18n.so.5 (0x00007f400a61b000)
	libKF5CoreAddons.so.5 => /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5 (0x00007f400a389000)
	libKF5ConfigCore.so.5 => /usr/lib/x86_64-linux-gnu/libKF5ConfigCore.so.5 (0x00007f400a12e000)
	libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f40098e7000)
	libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f400917e000)
	libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f4008a33000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f40086aa000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f4008492000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f40080a1000)
	libfam.so.0 => /usr/lib/x86_64-linux-gnu/libfam.so.0 (0x00007f4007e98000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4007c79000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f40078db000)
	libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f400764f000)
	libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f400741d000)
	libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f400717f000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f4006f62000)
	libicui18n.so.60 => /usr/lib/x86_64-linux-gnu/libicui18n.so.60 (0x00007f4006ac1000)
	libicuuc.so.60 => /usr/lib/x86_64-linux-gnu/libicuuc.so.60 (0x00007f400670a000)
	libdouble-conversion.so.1 => /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.1 (0x00007f40064f9000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f40062f5000)
	libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f4005fde000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f400acc0000)
	libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f4005dad000)
	libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f4005af7000)
	libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f4005843000)
	libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f4005616000)
	libicudata.so.60 => /usr/lib/x86_64-linux-gnu/libicudata.so.60 (0x00007f4003a6d000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f40037fb000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f40034c3000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f400329b000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f4003097000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f4002e91000)
	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f4002c7c000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f4002a74000)
arias@CYBERNEURONES:~$ ls -l /usr/lib/x86_64-linux-gnu/libQt5Sql.so.5
lrwxrwxrwx 1 root root 18 oct.  30 22:00 /usr/lib/x86_64-linux-gnu/libQt5Sql.so.5 -> libQt5Sql.so.5.9.5

La correction à faire :

arias@CYBERNEURONES:~$ sudo snap connect digikam:kde-frameworks-5-plug kde-frameworks-5-core18:kde-frameworks-5-core18-slot
arias@CYBERNEURONES:~$ snap connections digikam
Interface                             Plug                           Slot                                                  Notes
camera                                digikam:camera                 :camera                                               manual
content[icon-themes]                  digikam:icon-themes            gtk-common-themes:icon-themes                         -
content[kde-frameworks-5-core18-all]  digikam:kde-frameworks-5-plug  kde-frameworks-5-core18:kde-frameworks-5-core18-slot  manual
content[sound-themes]                 digikam:sound-themes           gtk-common-themes:sound-themes                        -
desktop                               digikam:desktop                :desktop                                              -
desktop-legacy                        digikam:desktop-legacy         :desktop-legacy                                       -
home                                  digikam:home                   :home                                                 -
mount-observe                         digikam:mount-observe          :mount-observe                                        manual
network                               digikam:network                :network                                              -
network-bind                          digikam:network-bind           :network-bind                                         -
opengl                                digikam:opengl                 :opengl                                               -
pulseaudio                            digikam:pulseaudio             :pulseaudio                                           -
removable-media                       digikam:removable-media        :removable-media                                      manual
udisks2                               digikam:udisks2                -                                                     -
wayland                               digikam:wayland                :wayland                                              -
x11                                   digikam:x11                    :x11                                                  -

Ensuite on peut lancer Digikam sans problème.

Voici ma snap list :

arias@CYBERNEURONES:~$  snap list
Name                     Version                     Rev   Tracking  Publisher   Notes
core                     16-2.32.5                   x1    -         -           core
core18                   20200113                    1650  stable    canonical✓  base
digikam                  6.4.0                       6     beta      sergiusens  -
firefox                  72.0.2-1                    310   stable    mozilla✓    -
gnome-3-28-1804          3.28.0-16-g27c9498.27c9498  110   stable    canonical✓  -
gtk-common-themes        0.1-28-g1503258             1440  stable    canonical✓  -
kde-frameworks-5-core18  5.61.0                      32    stable    kde✓        -
ubuntu-budgie-welcome    0.6.4                       x1    -         -           classic
vlc                      3.0.8                       1397  stable    videolan✓   -

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Time limit is exhausted. Please reload CAPTCHA.