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

Fernando de Oliveira famobr at yahoo.com.br
Sat Sep 15 22:38:37 PDT 2012


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




More information about the lfs-support mailing list