DigiKam missing shared library libpulsecommon-13.99.so

Running Ubuntu 20.04 with updates and the snap version of Digikam, but after updates it does not run.

Dropping to the command line I get this error run running it:

qubes@qubes-Stardard-PC-Q35-ICH9-2009:~$ snap run digikam
/snap/digikam/16/usr/bin/digikam: error while loading shared libraries: libpulsecommon-13.99.so: cannot open shared object file: No such file or directory

This error continues after a remove and install. When I do a snap connections digikam, there don’t seem to be any missing connections. Does this just require a new release/rebuild to link against new PulseAudio libraries?

Thanks!

i’d just do a snap revert digikam for the moment and wait til @sergiusens has fixed it :slight_smile:

This is strange, I use (and maintain digikam), here it is on a fresh kubuntu 20.04 install.

Can I see the output of cat /etc/os-release and snap version? The issue is with revision 16 of digikam? (This is the one that adds video support fwiw).

Also, thanks, I just noticed I have two copies of libpulse, time to trim the snap :slight_smile:

sergiusens@lothlorien:~$ snap run --shell digikam
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

sergiusens@lothlorien:/home/sergiusens$ find $SNAP/ -name 'libpulsecommon*'
/snap/digikam/16/kf5/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
/snap/digikam/16/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
sergiusens@lothlorien:/home/sergiusens$ exit
sergiusens@lothlorien:~$ 
1 Like

This is Ubuntu 20.04. I’m confused as there seems to be 3 copies of the library inside the snap. Screen-shot with requested information:

Thanks,
Thomas

that must be an ultra surround experience once it works :smiley: (SCNR)

Any update on this? I seem to have the same problem and couldn’t use digikam lately. FWIW, here is my output:
cat /etc/os-release (I had to remove the links because I am not allowed to post links…)

NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

and
snap version

snap    2.51.3
snapd   2.51.3
series  16
ubuntu  20.04
kernel  5.8.0-63-generic

As far as I can tell, everything is up to date on my system. Any help would be appreciated.

I have the similar issue. For the first time I have used a workaround by reverting digikam version with “snap revert digikam”.
But now it not works anymore

~$ snap revert digikam
ошибка: cannot revert "digikam": no revision to revert to

My UBUNTU is

~$ cat /etc/os-release 
NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.6 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

snap version

~$ snap version
snap    2.51.4
snapd   2.51.4
series  16
ubuntu  18.04
kernel  5.4.0-86-generic

Error

~$ digikam 
/snap/digikam/46/usr/bin/digikam: error while loading shared libraries: libpulsecommon-13.99.so: cannot open shared object file: No such file or directory