Description of problem:
The /usr/lib/openoffice.org1.9.104/program/soffice script sets LD_LIBRARY_PATH
before invoking the soffice.bin binary.
soffice.bin does not need the LD_LIBRARY_PATH, running
/usr/lib/openoffice.org1.9.104/program/soffice.bin from the shell works.
This causes lots lots of extra sytems calls during start up in order to
find shared libraries. This can be easily verified by changing the line in
/usr/lib/openoffice.org1.9.104/program/soffice that reads
strace -o /tmp/soffice.out "$sd_prog/$sd_binary" "$@"
The number of lines in soffice.out decreases from 34000 to 9400 if
LD_LIBRARY_PATH is set to be empty ...
This should impact the startup time, but I don't know how to measure that.
Version-Release number of selected component (if applicable):
At the moment one or two libraries, e.g. libsndfile and libportaudio do not have
an rpath of $ORIGIN yet and still require the LD_LIBRARY_PATH. But yes, it's
best to get rid of LD_LIBRARY_PATH
Will sort out all remaining LD_LIBRARY_PATH requiring libraries and do this for
done in 1.9.115-1 rawhide