On 10/07/2011 02:32 PM, Niccolò Belli wrote:
> I do use libreoffice-bin, but not firefox-bin and thinderbird-bin (I do
> compile them from source). I already tried revdep-rebuild and
> lafilefixer, even emerge -ave @world but nothing changes.
>
> Thanks,
> Niccolò
>
> laptop ~ # prelink -amR
> prelink: /usr/bin/lddlibc4: Using /lib32/ld-linux.so.2, not
> /lib/ld-linux.so.2 as dynamic linker
> prelink: /usr/lib64/libreoffice/program/soffice.bin: Could not parse
> `/usr/lib64/libreoffice/program/soffice.bin: error while loading shared
> libraries: /usr/lib64/libreoffice/program/soffice.bin: nonzero padding
> in e_ident'
This error got introduced with glibc 2.12. It's harmless and I guess
prelink will be updated upstream for this.
> prelink: /usr/lib64/libreoffice/program/kdefilepicker: Could not find
> one of the dependencies
These errors are normal. The needed libraries are not in the linker's
default path. LibreOffice uses wrapper scripts when it launches that
manually set LD_LIBRARY_PATH. This is why prelink can't find them. You
can tell prelink to not prelink anything in /usr/lib64/libreoffice by
setting PRELINK_PATH_MASK in /etc/env.d/99local. Mine looks like this:
PRELINK_PATH_MASK="/usr/lib/vmware-tools:/opt/xulrunner:/usr/lib64/jvm:/usr/lib64/NX:/usr/lib64/libreoffice"