Dynamic link library search path issue

This is on the latest Tumbleweed 15.5 updated today, running Cinnamon DE. I installed Konqueror via YaST, the plugins were automatically enabled, too.

At program start, Konqueror complains:

There was an error loading the module WebEngine.
The diagnostics is:
Could not load plugin from /usr/lib64/qt5/plugins/kf5/parts/webenginepart.so: Cannot load library /usr/lib64/qt5/plugins/kf5/parts/webenginepart.so: (/usr/local/lib64/libavutil.so.58: version `LIBAVUTIL_58.2_SUSE´ not found (required by /lib64/libQtWebEngineCore.so.5))

The correct library is in /usr/lib64, not in /usr/local/lib64.

(There is a newer version in the latter directory because I compiled and installed a recent snapshot of ffmpeg the other day which includes libavutil.)

How do I prevent the Konqueror plugin try to load that library from `/usr/local/lib64´ first?

I tried this to no avail:

# echo /usr/lib64 > /etc/ld.so.conf.d/konqueror.conf
# ldconfig

Sorry, but you should look better at your system. There is Tumbleweed and there is LEAP 15.5 and they are different beasts.

When you are in doubt:

cat /etc/os-release

???

$ cat /etc/os-release
NAME="openSUSE Tumbleweed"
# VERSION="20231106"

Sorry for picking the wrong tag. I just uninstalled Konqueror, installed Double Commander which works out of the box (rpm) and no longer worry about this issue.