Bug#1114995: Libreoffice fails to start whith an error while loading shared libraries.

Rene Engelhard <[email protected]> Tue, 7 Apr 2026 21:59:33 +0200
Newsgroups gmane.linux.debian.devel.openoffice
Organization Debian Project
Message-ID <2c52a910-a6cb-47d1-bdf2-db6f16a3c63a__45279.8311876663$1775592088$gmane$org@debian.org>
reassign 1114995 gnustep-common

retitle 1114995 /usr/share/GNUstep/Makefiles/GNUstep.sh makes libreoffice not find its private libraries, preventing startup

affects 1114995 libreoffice

affects 1114995 libreoffice-core

thanks


Hi,

Am 07.04.26 um 17:11 schrieb Karine Crévecœur:
> Hi,
> Finally, I've found the cause of the issue. The script
> /usr/share/GNUstep/Makefiles/GNUstep.sh from the package gnustep-common
> exports the environment variable
>         LD_LIBRARY_PATH=/home/enikar/GNUstep/Library/Libraries:/usr/local/lib:/usr/lib/x86_64-linux-gnu
>
> When I unset it, libreoffice starts correctly.

Oh, dear.

Why is it LD_LIBRARY_PATH'ing stuff in (whatever I assume is your home) and then stuff which is in the search path anyway?

I wonder why noone saw that so far, though, maybe something is more special still?

> I'm very sorry for that. However, this is still not the expected
> behaviour, I guess.

Indeed.

> The bug has been fixed for me.

Reassigning to GNUstep for more input.


Regards,


Rene