Ignore:
Timestamp:
Dec 5, 2013, 9:28:37 PM (11 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
b8e82b7
Parents:
f2f8eec
Message:

Prevent XZ from installing static libraries in /lib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/xz.xml

    rf2f8eec r058c1e7f  
    3030    <para os="a">Prepare XZ-Utils for compilation:</para>
    3131
    32 <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
     32<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
    3333
    3434    <para os="c">Compile the package:</para>
     
    4242    <para os="f">Install the programs:</para>
    4343
    44 <screen os="g"><userinput>make pkgconfigdir=/usr/lib/pkgconfig install</userinput></screen>
     44<screen os="g"><userinput>make install</userinput></screen>
    4545
    4646    <para os="h">Move the <filename>xz</filename> binary, and several symlinks
     
    4848
    4949<screen os="i"><userinput>mv -v /usr/bin/{xz,lzma,lzcat,unlzma,unxz,xzcat} /bin</userinput></screen>
     50
     51    <para os="j">Finally, move the shared library to a more appropriate
     52    location, and recreate the symlink pointing to it:</para>
     53
     54<screen os="k"><userinput>mv -v /usr/lib/liblzma.so.* /lib
     55ln -svf ../../lib/liblzma.so.&xz-version; /usr/lib/liblzma.so</userinput></screen>
    5056
    5157  </sect2>
     
    6066
    6167      <seglistitem>
    62         <seg>lzcat (link to xz), lzcmp (link to lzdiff), lzdiff, lzegrep (link to lzgrep),
    63         lzfgrep (link to lzgrep), lzgrep, lzless (link to lzmore), lzma (link to xz),
    64         lzmadec, lzmore, unlzma (link to xz), unxz (link to xz), xz, xzcat
    65         (link to xz), and xzdec</seg>
     68        <seg>lzcat (link to xz), lzcmp (link to xzdiff), lzdiff (link to
     69        xzdiff), lzegrep (link to xzgrep), lzfgrep (link to xzgrep), lzgrep
     70        (link to xzgrep), lzless (link to xzless), lzma (link to xz), lzmadec,
     71        lzmainfo, lzmore (link to xzmore), unlzma (link to xz), unxz (link to
     72        xz), xz, xzcat (link to xz), xzcmp (link to xzdiff), xzdec, xzdiff,
     73        xzegrep (link to xzgrep), xzfgrep (link to xzgrep), xzgrep, xzless,
     74        and xzmore</seg>
    6675        <seg>liblzma.[a,so]</seg>
    6776        <seg>/usr/include/lzma, /usr/share/doc/xz</seg>
Note: See TracChangeset for help on using the changeset viewer.