Plugins don't have RPATH set
Recently our build system flipped out when updating eog to new version because libfullscreen.so
(and all other plugin related libs) couldn't find libeog.so
. Running ldd
on those libs confirms that:
ldd /usr/lib/amd64/eog/plugins/libfullscreen.so
libeog.so => (file not found)
(and the same happens on different machines with different distros as well).
The reason for this is that the ELF headers of those libraries do not have RPATH set, hence the linker doesn't know where to look.
I am not sure whether this can be an issue or whether it can be ignored (eog
still works as expected, probably because libeog.so
is always already loaded when plugins are being loaded).
This was not an issue before meson, because libtool was setting RPATH as expected.
And in case you do consider this an issue, here's a simple patch: eog-rpath.patch