:
soffice is a shell script that tries to determine its location in the
file system, so that it can call other executables like oosplash and
javaldx next to itself. See the section labelled with a "resolve
installation directory" comment determining the sd_prog variable, which
shall resolve to the actual directory containing the soffice shell
script, with any symlinks resolved.
The "double symlink" scenario you outline above works e.g. fine for me
on Fedora 32. You need to debug into that shell script code to see why
it breaks for you.
Thanks for the suggestion.
I ran the command as "bash -x /usr/bin/libreoffice --calc --nologo"
and everything works fine down to the following (last) command, which
opens calc with no logo. However notice what also appears:
+ exec /opt/libreoffice7.0/program/oosplash --calc --nologo
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
oosplash is an ELF binary that actually runs (all?) the LibreOffice
programs. While that seems obscure enough for me, the problem (not
finding a java runtime system) has nothing to do with the symlinks I
have set up for my keyboard shortcuts so they work independent of
where LO actually lives on my machine.
I don't know why this is happening, but I do know it has been going on
at least since LO 5, and there have been many many comments on this
email list about it being a bug, to which I agree.
I have not seen any errors or other impact of this problem - maybe I
don't use the JRE enough, or the errors are invisible for everything I
am doing, and I find it disturbing that this keeps getting reported
and not fixed.
That said, I consider my problem resolved - no need for further input
here. If someone wants to comment on the JRE issue, please post in a
new thread, don't complicate this one.
Thanks.
Mark