Ignore:
Timestamp:
05/13/2021 04:30:55 PM (3 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
1b1acbed
Parents:
8725cae
Message:

Use a configuration option to set the loader pathes in ldd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/glibc.xml

    r8725cae rf5c3bf6  
    8181      --enable-kernel=&min-kernel;                \
    8282      --with-headers=$LFS/usr/include    \
    83       libc_cv_slibdir=/usr/lib</userinput></screen>
     83      libc_cv_slibdir=/usr/lib           \
     84      libc_cv_rtlddir=/lib</userinput></screen>
    8485
    8586    <variablelist>
     
    119120          <para>This ensures that the library is installed in /usr/lib instead
    120121          of the default /lib64 on 64 bit machines.</para>
     122        </listitem>
     123      </varlistentry>
     124
     125      <varlistentry>
     126        <term><parameter>libc_cv_rtlddir=/lib</parameter></term>
     127        <listitem>
     128          <para>Fix hardcoded path to the executable loader in the
     129            <command>ldd</command> script.</para>
    121130        </listitem>
    122131      </varlistentry>
     
    185194
    186195    </variablelist>
    187 
     196<!--
    188197    <para>Fix hardcoded path to the executable loader in
    189198    <command>ldd</command> script:</para>
    190199
    191200<screen><userinput remap="install">sed '/RTLDLIST=/s@/usr@@g' -i $LFS/usr/bin/ldd</userinput></screen>
    192 
     201-->
    193202    <caution>
    194203      <para>At this point, it is imperative to stop and ensure that the basic
Note: See TracChangeset for help on using the changeset viewer.