Ignore:
Timestamp:
Feb 21, 2006, 2:06:53 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
bcbd90b
Parents:
f013de9
Message:

r1041@server (orig r1039): jim | 2006-01-11 17:12:52 -0800

r1346@server: jim | 2006-01-11 17:10:51 -0800
Updated zlib to build shared and static at the same time. Recommendation by Tushar Teredesai


File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/multilib/zlib-64bit.xml

    rf013de9 r27178ae  
    2424    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    2525    href="zlib.xml"
    26     xpointer="xpointer(//*[@os='a'])"/>
     26    xpointer="xpointer(//*[@os='p1'])"/>
    2727
    2828    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    2929    href="zlib.xml"
    30     xpointer="xpointer(//*[@os='b'])"/>
     30    xpointer="xpointer(//*[@os='p2'])"/>
     31
     32    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     33    href="zlib.xml"
     34    xpointer="xpointer(//*[@os='a'])"/>
    3135
    3236<screen os="c"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
    33    --shared --libdir=/lib64</userinput></screen>
     37   --shared --libdir=/usr/lib64</userinput></screen>
    3438
    3539    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    4953    xpointer="xpointer(//*[@os='g'])"/>
    5054
    51     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    52     href="zlib.xml"
    53     xpointer="xpointer(//*[@os='h'])"/>
     55    <para os="h">The previous command installed a <filename
     56    class="extension">.so</filename> file in <filename
     57    class="directory">/usr/lib64</filename>. We will remove itinto
     58    <filename class="directory">/lib64</filename> and then relink it
     59    to <filename class="directory">/usr/lib64</filename>:</para>
    5460
    55     <para os="i">The previous command installed a <filename
    56     class="extension">.so</filename> file in <filename
    57     class="directory">/lib64</filename>. We will remove it and relink it into
    58     <filename class="directory">/usr/lib64</filename>:</para>
    59 
    60 <screen os="j"><userinput>rm /lib64/libz.so
    61 ln -sf ../../lib64/libz.so.&zlib-version; /usr/lib64/libz.so</userinput></screen>
     61<screen os="i"><userinput>mv /usr/lib64/libz.so.*
     62ln -sf ../../lib64/libz.so.1 /usr/lib64/libz.so</userinput></screen>
    6263
    6364    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    6465    href="zlib.xml"
    65     xpointer="xpointer(//*[@os='k'])"/>
     66    xpointer="xpointer(//*[@os='j'])"/>
    6667
    67 <screen os="l"><userinput>make clean
    68 CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure \
    69     --prefix=/usr --libdir=/usr/lib64
    70 make</userinput></screen>
    71 
    72     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    73     href="zlib.xml"
    74     xpointer="xpointer(//*[@os='m'])"/>
    75 
    76     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    77     href="zlib.xml"
    78     xpointer="xpointer(//*[@os='n'])"/>
    79 
    80     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    81     href="zlib.xml"
    82     xpointer="xpointer(//*[@os='o'])"/>
    83 
    84     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    85     href="zlib.xml"
    86     xpointer="xpointer(//*[@os='p'])"/>
    87 
    88 <screen os="q"><userinput>chmod 644 /usr/lib64/libz.a</userinput></screen>
     68<screen os="k"><userinput>chmod 644 /usr/lib64/libz.a</userinput></screen>
    8969
    9070  </sect2>
Note: See TracChangeset for help on using the changeset viewer.