This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ELF prelinker

On Tue, Aug 14, 2001 at 07:29:06PM +0000, Stephan Althaus wrote:
> prelink fails on /lib/ with:
> ...
> Prelinking /lib/
> /usr/local/sbin/prelink: Could not parse line ` /usr/local/lib/ 
> => /lib/ (0x80000000)'
> ...

You should be more specific on exactly what you're trying to do.
What options for prelink you used (--dynamic-linker, --ld-library-path?),
what does /usr/local/lib/ do there (do you use it as
interpreter (in glibc's .interp section?).
It looks like you have not installed glibc you have built, because that
message comes from parsing LD_TRACE_PRELINKING=1 invocation, which starts
with lines like:
        /bin/sh => /bin/sh (0x08047000, 0x00000000) => /lib/ (0x41344000, 0x00000000) => /lib/ (0x4118b000, 0x00000000) => /lib/i686/ (0x4101e000, 0x00000000)
        /lib/ => /lib/ (0x41000000, 0x00000000)
Also note that all files/libraries you want to prelink need to be compiled
with those binutils.
I'd suggest you to look at Red Hat Roswell beta distribution, it has already
patched binutils, glibc, includes latest prelink rpm and the whole
distribution was linked with those binutils.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]