If I try to launch Libre Calc, or any Libre program, I see the splash screen for a second, but then it crashes with the error:
The application cannot be started.
The component manager is not available.
("Cannot open uno ini file:///usr/lib/x86_64-linux-gnu/unorc at /build/libreoffice-t5qziU/libreoffice-7.6.2~rc1/cppuhelper/source/defaultbootstrap.cxx:53")
I recently rebooted my system, but I haven’t otherwise changed or upgraded anything, so I don’t know why libraries would suddenly be missing.
How do I fix this?
Edit: In my ~/.bash_aliases
is had:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/jni:/usr/lib/libreoffice/program/
and if I revert that, then Libreoffice launches, but it also disables all Java, which makes the UI render like it’s 1991, and also disables all other Java programs on my system.