On Fri, 10 Jun 2022 18:57:49 +0200 David Haller <dnh@opensuse.org> wrote:
Hello,
On Fri, 10 Jun 2022, Peter McD wrote:
Am 09.06.22 um 13:08 schrieb Andrei Borzenkov:
On 09.06.2022 12:15, Peter McD wrote:
peter@lupo:~> darktable darktable: error while loading shared libraries: libdarktable.so: cannot open shared object file: No such file or directory
So the problem is not related to a previously installed darktable version.
Yes, I can confirm it. You should open bug report for Leap 15.4. As a workaround you could use
LD_LIBRARY_PATH=/usr/lib64/darktable darktable
or
ln -s darktable/libdarktable.so /usr/lib64
Symlink set: ln -s /usr/lib64/darktable/libdarktable.so /usr/lib64/libdarktable.so
An (better) alternative is undoing the removal of the rpath that darktable is normally compiled with:
# patchelf --add-rpath '$ORIGIN/../lib64/darktable' /usr/bin/darktable
Maybe that is removed because /../ links can be easily reinterpreted by bad actors? So it's a security risk. Just guessing :) But whoever removed it should have fixed the consequences!!!
HTH, -dnh