public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] prelink errors
@ 2011-10-07 11:32 Niccolò Belli
  2011-10-07 18:44 ` [gentoo-user] " walt
  2011-10-07 19:00 ` Nikos Chantziaras
  0 siblings, 2 replies; 5+ messages in thread
From: Niccolò Belli @ 2011-10-07 11:32 UTC (permalink / raw
  To: gentoo-user

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'
prelink: /usr/lib64/libreoffice/program/kdefilepicker: Could not find 
one of the dependencies
prelink: /usr/lib64/libreoffice/basis3.4/program/python.bin: Could not 
find one of the dependencies
prelink: /usr/lib64/thunderbird-devel/bin/thunderbird-bin: Could not 
find one of the dependencies
prelink: /usr/lib64/thunderbird-devel/bin/plugin-container: Could not 
find one of the dependencies
prelink: /usr/lib64/firefox/plugin-container: Could not find one of the 
dependencies
prelink: /usr/lib32/misc/glibc/getconf/POSIX_V6_ILP32_OFFBIG: Using 
/lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/getconf/POSIX_V7_ILP32_OFFBIG: Using 
/lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/getconf/XBS5_ILP32_OFF32: Using 
/lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/getconf/XBS5_ILP32_OFFBIG: Using 
/lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/getconf/POSIX_V6_ILP32_OFF32: Using 
/lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/getconf/POSIX_V7_ILP32_OFF32: 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'
prelink: /usr/lib64/libreoffice/program/kdefilepicker: Could not find 
one of the dependencies
prelink: /usr/lib64/libreoffice/basis3.4/program/python.bin: Could not 
find one of the dependencies
prelink: /usr/lib64/thunderbird-devel/bin/thunderbird-bin: Could not 
find one of the dependencies
prelink: /usr/lib64/thunderbird-devel/bin/plugin-container: Could not 
find one of the dependencies
prelink: /usr/lib64/firefox/plugin-container: Could not find one of the 
dependencies



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: prelink errors
  2011-10-07 11:32 [gentoo-user] prelink errors Niccolò Belli
@ 2011-10-07 18:44 ` walt
  2011-10-07 18:50   ` Niccolò Belli
  2011-10-07 18:54   ` Nikos Chantziaras
  2011-10-07 19:00 ` Nikos Chantziaras
  1 sibling, 2 replies; 5+ messages in thread
From: walt @ 2011-10-07 18:44 UTC (permalink / raw
  To: gentoo-user

On 10/07/2011 04:32 AM, Niccolò Belli wrote:

> 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'

I don't know very much about prelink, but I wonder about using a 32-bit
linker to load a 64-bit library?  That sounds wrong to me.

Is prelink a 32-bit program?  Is there maybe a 64-bit prelink on the same
machine?  What is actually in your prelink package?





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Re: prelink errors
  2011-10-07 18:44 ` [gentoo-user] " walt
@ 2011-10-07 18:50   ` Niccolò Belli
  2011-10-07 18:54   ` Nikos Chantziaras
  1 sibling, 0 replies; 5+ messages in thread
From: Niccolò Belli @ 2011-10-07 18:50 UTC (permalink / raw
  To: gentoo-user

Il 07/10/2011 20:44, walt ha scritto:
> I don't know very much about prelink, but I wonder about using a 32-bit
> linker to load a 64-bit library?  That sounds wrong to me.
>
> Is prelink a 32-bit program?  Is there maybe a 64-bit prelink on the same
> machine?  What is actually in your prelink package?

laptop ~ # file /usr/sbin/prelink
/usr/sbin/prelink: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), 
statically linked, for GNU/Linux 2.6.9, stripped



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: prelink errors
  2011-10-07 18:44 ` [gentoo-user] " walt
  2011-10-07 18:50   ` Niccolò Belli
@ 2011-10-07 18:54   ` Nikos Chantziaras
  1 sibling, 0 replies; 5+ messages in thread
From: Nikos Chantziaras @ 2011-10-07 18:54 UTC (permalink / raw
  To: gentoo-user

On 10/07/2011 09:44 PM, walt wrote:
> On 10/07/2011 04:32 AM, Niccolò Belli wrote:
>
>> 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'
>
> I don't know very much about prelink, but I wonder about using a 32-bit
> linker to load a 64-bit library?  That sounds wrong to me.

/lib/ld-linux.so.2 is a symlink to ../lib32/ld-linux.so.2.


> Is prelink a 32-bit program?  Is there maybe a 64-bit prelink on the same
> machine?  What is actually in your prelink package?

prelink is 64-bit on 64-bit machines and 32-bit on 32-bit machines.  On 
64-bit machines, it handles 32-bit as well as 64-bit libraries correctly.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: prelink errors
  2011-10-07 11:32 [gentoo-user] prelink errors Niccolò Belli
  2011-10-07 18:44 ` [gentoo-user] " walt
@ 2011-10-07 19:00 ` Nikos Chantziaras
  1 sibling, 0 replies; 5+ messages in thread
From: Nikos Chantziaras @ 2011-10-07 19:00 UTC (permalink / raw
  To: gentoo-user

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"




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-10-07 19:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-07 11:32 [gentoo-user] prelink errors Niccolò Belli
2011-10-07 18:44 ` [gentoo-user] " walt
2011-10-07 18:50   ` Niccolò Belli
2011-10-07 18:54   ` Nikos Chantziaras
2011-10-07 19:00 ` Nikos Chantziaras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox