Okular issue after update to Plasma 6.5

After upgrading to Plasma 6.5 Okular can’t find libPlasmaActivities.so.6

okular: error while loading shared libraries: libPlasmaActivities.so.6: cannot open shared object file: No such file or directory

It looks like /usr/lib/x86_64-linux-gnu/libPlasmaActivities.so.6 ws was removed during the upgrade from Plasma 6.4.x to 6.5.0. I was able to fix the issue using a symbolic link to /usr/lib/x86_64-linux-gnu/libPlasmaActivities.so.6.5.0 so most likely Okular just needs a recompile and repackage.

These are my package versions:

libokular6core4 4:25.08.2-0zneon+24.04+noble+release+build32
okular 4:25.08.2-0zneon+24.04+noble+release+build32
okular-backends 4:25.08.2-0zneon+24.04+noble+release+build32

It’s a Neon packaging bug. See https://bugs.kde.org/show_bug.cgi?id=510872. You can fix it manually by installing plasma-activities.

please upgrade again. the downstreams of plasma-activities needed to be rebuilt as the plasma-activities broke binary compatibility and all downstream applications need to be rebuilt against the new version .7 solib. apologies this wasn’t picked up earlier

1 Like

No problem. I just thought I would say something just in case it was under the radar.

1 Like

You can fix this yourself. I was getting the same error and I just had to link in the property lib file:

sudo ln -s /var/lib/flatpak/runtime/org.kde.Platform/x86_64/6.9/76413ad56178752c98dbda74682640d85a2b10b0d37f6f3680b29adf00265a6b/files/lib/x86_64-linux-gnu/libPlasmaActivities.so.6

Doing this is a very bad idea in general. Soversions change for a reason.

In this case it’s a simple work around to resolve what will be a temporary issue until the developers of Neon can get a fix in place.

The one thing I did miss in my comment is the exact placement of the link which should be in /usr/lib/x86_64-linux-gnu/