[lfs-support] the result of " ldd libz.so.1 " is right ?

lx lxlenovostar at gmail.com
Sun Sep 16 05:36:58 PDT 2012


thank you,
              I'm using 7.1. and it's  a 32-bit system.

maybe i don't make problem clear. when I make the file-5.10. it can't
find ldd libz.so.1 . so I check the libz.so.1 by "ldd libz.so.1", and
result is:

linux-gate.so.1 =>  (0x00460000)
libc.so.6 => /lib/libc.so.6 (0x008bb000)
/lib/ld-linux.so.2 (0x00825000)

           i think i don't set the right symbol link of /lib/ld-linux.so.2 ,
so i'm confused.

this is the whole process.


2012/9/16 Fernando de Oliveira <famobr at yahoo.com.br>

> --- Em dom, 16/9/12, lx escreveu:
>
> Don't top post.
>
> >
> > De: lx
> > Assunto: Re: [lfs-support] the result of " ldd libz.so.1 " is right ?
> > Para: "LFS Support List"
> > Data: Domingo, 16 de Setembro de 2012, 1:25
> >
> > thank you very much.
> > when i exec " ldd libz.so.1", the result is:
> >    linux-gate.so.1 =>  (0x008e2000)
> >    libc.so.6 => /tools/lib/libc.so.6 (0x0013b000)
> >    /tools/lib/ld-linux.so.2 (0x003e4000)
> >
> > /lib/ld-linux.so.2 => /mnt/lfs/tools...          maybe this is right?
> >
> > the problem is that i make the file-5.10 in chapter 5 but the error
> > message is:
> > error while loading shared libraries: libz.so.1: cannot open shared
> > object file: No such file or directory
> >
> > so, i check the libz.so.1 in my host system.
>
> One question asked by Bruce you haven't yet answered:
> > 2012/9/16 Bruce Dubbs:
> ...
> >> *SPECS=`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/specs*
> >> *$LFS_TGT-gcc -dumpspecs | sed \*
> >> *-e 's@/lib\(64\)\?/ld@/tools&@g' \*
> >> *-e "/^\*cpp:$/{n;s,$, -isystem /tools/include,}" > $SPECS*
> >> *echo "New specs file is: $SPECS"*
> >> *unset SPECS
> >
> > What *version* of the book are you using?  You should be using 7.2  That
> > part is no longer applicable.
> ...
>
> []s,
>
> Fernando
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20120916/22c54ec8/attachment.html>


More information about the lfs-support mailing list