Ticket #3619: libcap.patch

File libcap.patch, 1012 bytes (added by Chris Staub, 10 years ago)
  • trunk/BOOK/chapter06/libcap.xml

     
    5454<screen><userinput remap="install">make RAISE_SETFCAP=no prefix=/usr install
    5555chmod -v 755 /usr/lib/libcap.so</userinput></screen>
    5656
     57    <variablelist>
     58      <title>The meaning of the make option:</title>
     59
     60      <varlistentry>
     61        <term><parameter>RAISE_SETFCAP=no</parameter></term>
     62        <listitem>
     63          <para>This parameter skips trying to use <command>setcap</command>
     64          on itself.  This avoids an installation error if the kernel or file
     65          system does not support extended capabilities.</para>
     66        </listitem>
     67      </varlistentry>
     68
     69    </variablelist>
     70
    5771    <para>The shared library needs to be moved to
    5872    <filename class="directory">/lib</filename>, and as a result the
    5973    <filename class="extension">.so</filename> file in