Alternative fix: Create a file /etc/ld.so.conf.d/darktable.conf with the additional searchpath(s) as entry: /usr/lib64/darktable/ and maybe also /usr/lib64/darktable/plugins and run ldconfig