On Wed, 2017-10-25 at 20:26 +0200, Axel wrote: > Dear all, > > I'm building LFS, following the Book 8.1 and reached Chapter 6.9.2.3. > "Configuring the Dynamic Loader" now > > Here's what I typed and the related messages: > > root:/sources# cat > /etc/ld.so.conf << "EOF" > > # Begin /etc/ld.so.conf > > /usr/local/lib > > /opt/lib > > > > EOF > root:/sources# cat >> /etc/ld.so.conf << "EOF" > > # Add an include directory > > include /etc/ld.so.conf.d/*.conf > > > > EOF > > root:/sources# mkdir -pv /etc/ld.so.conf.d > mkdir: created directory '/etc/ld.so.conf.d' > > root:/sources# mv -v /tools/bin/{ld,ld-old} > '/tools/bin/ld' -> '/tools/bin/ld-old' > > root:/sources# mv -v /tools/$(uname -m)-pc-linux-gnu/bin/{ld,ld-old} > '/tools/x86_64-pc-linux-gnu/bin/ld' -> '/tools/x86_64-pc-linux- > gnu/bin/ld-old' > > root:/sources# mv -v /tools/bin/{ld-new,ld} > mv: cannot stat '/tools/bin/ld-new': No such file or directory #!!!!# > > root:/sources# ln -sv /tools/bin/ld /tools/$(uname -m)-pc-linux- > gnu/bin/ld > '/tools/x86_64-pc-linux-gnu/bin/ld' -> '/tools/bin/ld' > root:/sources# gcc -dumpspecs | sed -e > 's@/tools@@g' \ > > -e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \ > > -e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' > \ > > `dirname $(gcc --print-libgcc-file-name)`/specs > > Could you please give me hint? > Thank you! > > Kind regards > > > Axel > >
If /tools/bin/ld-new does not exist, you missed a step in binutils pass2. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style