Ignore:
Timestamp:
01/13/2018 05:43:45 AM (6 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 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, 8.2, 8.3, 8.4, 9.0, 9.1, 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:
89970f9
Parents:
e03d5e49
Message:

Simplify and correct Libelf installation.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11351 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/libelf.xml

    re03d5e49 ra98a31a0  
    77
    88<sect1 id="ch-system-libelf" role="wrap">
    9   <?dbhtml filename="elfutils.html"?>
     9  <?dbhtml filename="libelf.html"?>
    1010
    1111  <sect1info condition="script">
    12     <productname>elfutils</productname>
     12    <productname>libelf</productname>
    1313    <productnumber>&elfutils-version;</productnumber>
    1414    <address>&elfutils-url;</address>
     
    5555    <para>To test the results, issue <command>make check</command>.</para>
    5656
    57     <para>Install the needed libraries:</para>
     57    <para>Install only Libelf:</para>
    5858
    59 <screen><userinput remap="install">install -vm755 libelf/libelf.so /usr/lib/libelf-0.170.so
    60 install -vm644 config/libelf.pc /usr/lib/pkgconfig
    61 install -vm644 libelf/libelf.h  /usr/include
    62 install -vm644 libelf/gelf.h    /usr/include
    63 install -vm644 libelf/nlist.h   /usr/include
    64 ln -sf libelf-0.170.so /usr/lib/libelf-1.so
    65 ln -sf libelf-0.170.so /usr/lib/libelf.so</userinput></screen>
     59<screen><userinput remap="install">make -C libelf install
     60install -vm644 config/libelf.pc /usr/lib/pkgconfig</userinput></screen>
    6661
    6762  </sect2>
Note: See TracChangeset for help on using the changeset viewer.