Ignore:
Timestamp:
02/01/2021 08:37:19 AM (3 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib-10.1
Children:
f695e02
Parents:
3e73c5d
Message:

Merge changes from trunk to multilib

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12107 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/libcap.xml

    r3e73c5d r5e06d04  
    5050    <para>Compile the package:</para>
    5151
    52 <screen><userinput remap="make">make lib=lib</userinput></screen>
     52<screen><userinput remap="make">make prefix=/usr lib=lib</userinput></screen>
    5353
    5454    <variablelist>
     
    5959        <listitem>
    6060          <para>This parameter sets the library directory to
    61           <filename>/lib</filename> rather than
    62           <filename>/lib64</filename> on x86_64. It has no effect on
     61          <filename>/usr/lib</filename> rather than
     62          <filename>/usr/lib64</filename> on x86_64. It has no effect on
    6363          x86.</para>
    6464        </listitem>
     
    7070<screen><userinput remap="test">make test</userinput></screen>
    7171
    72     <para>Install the package and do some cleanup:</para>
    73 
    74 <screen><userinput remap="install">make lib=lib PKGCONFIGDIR=/usr/lib/pkgconfig install
     72    <para>Install the package and make sure the essential libraries are in
     73    the correct directory:</para>
     74
     75<screen><userinput remap="install">make prefix=/usr lib=lib install
    7576for libname in cap psx; do
     77    mv -v /usr/lib/lib${libname}.so.* /lib
     78    ln -sfv ../../lib/lib${libname}.so.2 /usr/lib/lib${libname}.so
    7679    chmod -v 755 /lib/lib${libname}.so.&libcap-version;
    77     rm -v /lib/lib${libname}.so
    78     ln -sfv ../../lib/lib${libname}.so.2 /usr/lib/lib${libname}.so
    7980done</userinput></screen>
    8081
Note: See TracChangeset for help on using the changeset viewer.