Artix Linux Forum

Artix Linux => Package management => Topic started by: dreieck on 04 April 2025, 14:46:04

Title: world/digikam needs rebuild: `liblensfun.so.2: No such file or directory`
Post by: dreieck on 04 April 2025, 14:46:04
Having installed world/dikikam version 8.6.0-2 and world/lensfun version 1:0.3.4-5, launching digikam fails with
Code: [Select]
digikam: error while loading shared libraries: liblensfun.so.2: cannot open shared object file: No such file or directory
.

There is a /usr/lib/liblensfun.so.1, provided by the world/lensfun package, but no /usr/lib/liblensfun.so.2.

Regards!
Title: Re: world/digikam needs rebuild: `liblensfun.so.2: No such file or directory`
Post by: corysanin on 04 April 2025, 18:31:31
I don't know where you got your digikam but I don't think it was Artix or even Arch. Expand the "links to so-names" section on the digikam package page (https://packages.artixlinux.org/packages/world/x86_64/digikam/) and it lists liblensfun.so.1. I installed and ran digikam on my system and it launched fine.
Title: Re: world/digikam needs rebuild: `liblensfun.so.2: No such file or directory`
Post by: capezotte on 05 April 2025, 05:09:23
Can confirm I'm not able to reproduce, even if explicitly tell pacman to fetch extra/digikam.
Title: Re: world/digikam needs rebuild: `liblensfun.so.2: No such file or directory`
Post by: dreieck on 17 April 2025, 11:13:12
I don't know where you got your digikam but I don't think it was Artix or even Arch.
I don't know either; I did pacman -S world/digikam to be sure.

My /etc/pacman.d/mirrorlist has the following mirrors enabled:
Code: [Select]
Server = https://mirror1.artixlinux.org/repos/$repo/os/$arch
Server = https://ftp.uni-bayreuth.de/linux/artix-linux/$repo/os/$arch
Server = https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch
Server = https://eu-mirror.artixlinux.org/repos/$repo/os/$arch
and my /etc/pacman.conf lists the following for [world]:
Code: [Select]
[world]
SigLevel = PackageRequired DatabaseNever
Include = /etc/pacman.d/mirrorlist

Could there have been some temporary "hickup"?

Anyway, the issue is gone now.

Regards!
Title: Re: world/digikam needs rebuild: `liblensfun.so.2: No such file or directory`
Post by: corysanin on 17 April 2025, 18:08:10

Could there have been some temporary "hickup"?


That was something I considered when you first posted, but I can't fathom how. There was only ever one digikam-8.6.0-2 built for Artix and it was never linked to the seemingly non-existent liblensfun.so.2. I'm at a loss. But glad it's working now.