source: chapter08/libtool.xml@ 3c07bb9

11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 bdubbs/gcc13 multilib renodr/libudev-from-systemd trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/update-glibc
Last change on this file since 3c07bb9 was 3c07bb9, checked in by Xi Ruoyao <xry111@…>, 17 months ago

libtool: libldtl is for dynamic loading, not dynamic linking

On wikipedia, "dlopen" redirects to "dynamic loading" and there is a
specific warning:

"Dynamically loaded library" redirects here. Not to be confused with
dynamically linked library.

  • Property mode set to 100644
File size: 4.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-libtool" role="wrap">
9 <?dbhtml filename="libtool.html"?>
10
11 <sect1info condition="script">
12 <productname>libtool</productname>
13 <productnumber>&libtool-version;</productnumber>
14 <address>&libtool-url;</address>
15 </sect1info>
16
17 <title>Libtool-&libtool-version;</title>
18
19 <indexterm zone="ch-system-libtool">
20 <primary sortas="a-Libtool">Libtool</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Libtool package contains the GNU generic library support script.
27 It makes the use of shared libraries simpler with a consistent, portable
28 interface.</para>
29
30 <segmentedlist>
31 <segtitle>&buildtime;</segtitle>
32 <segtitle>&diskspace;</segtitle>
33
34 <seglistitem>
35 <seg>&libtool-fin-sbu;</seg>
36 <seg>&libtool-fin-du;</seg>
37 </seglistitem>
38 </segmentedlist>
39
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of Libtool</title>
44
45 <para>Prepare Libtool for compilation:</para>
46
47<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
48
49 <para>Compile the package:</para>
50
51<screen><userinput remap="make">make</userinput></screen>
52
53<para>To test the results<!--(about 11.0 SBU)-->, issue:</para>
54
55<screen><userinput remap="test">make -k check</userinput></screen>
56
57 <note><para>The test time for Libtool can be reduced significantly on a
58 system with multiple cores. To do this, append
59 <command>TESTSUITEFLAGS=-j&lt;N&gt;</command> to the line above. For
60 instance, using -j4 can reduce the test time by over 60
61 percent.</para></note>
62
63 <para>Five tests are known to fail in the LFS build environment due
64 to a circular dependency, but these tests pass if rechecked after
65 automake has been installed. Additionally, with grep-3.8, two tests will
66 trigger a warning for non-POSIX regular expressions and fail.</para>
67
68 <para>Install the package:</para>
69
70<screen><userinput remap="install">make install</userinput></screen>
71
72 <!-- dev: - -disable-static works but causes additional test failures
73 so we manually remove the static library -->
74
75 <para>Remove a useless static library:</para>
76
77<screen><userinput remap="install">rm -fv /usr/lib/libltdl.a</userinput></screen>
78
79 </sect2>
80
81
82 <sect2 id="contents-libtool" role="content">
83 <title>Contents of Libtool</title>
84
85 <segmentedlist>
86 <segtitle>Installed programs</segtitle>
87 <segtitle>Installed libraries</segtitle>
88 <segtitle>Installed directories</segtitle>
89
90 <seglistitem>
91 <seg>libtool and libtoolize</seg>
92 <seg>libltdl.so</seg>
93 <seg>/usr/include/libltdl and /usr/share/libtool</seg>
94 </seglistitem>
95 </segmentedlist>
96
97 <variablelist>
98 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
99 <?dbfo list-presentation="list"?>
100 <?dbhtml list-presentation="table"?>
101
102 <varlistentry id="libtool">
103 <term><command>libtool</command></term>
104 <listitem>
105 <para>Provides generalized library-building support services</para>
106 <indexterm zone="ch-system-libtool libtool">
107 <primary sortas="b-libtool">libtool</primary>
108 </indexterm>
109 </listitem>
110 </varlistentry>
111
112 <varlistentry id="libtoolize">
113 <term><command>libtoolize</command></term>
114 <listitem>
115 <para>Provides a standard way to add <command>libtool</command>
116 support to a package</para>
117 <indexterm zone="ch-system-libtool libtoolize">
118 <primary sortas="b-libtoolize">libtoolize</primary>
119 </indexterm>
120 </listitem>
121 </varlistentry>
122
123 <varlistentry id="libltdl">
124 <term><filename class="libraryfile">libltdl</filename></term>
125 <listitem>
126 <para>Hides the various difficulties of opening dynamically loaded libraries</para>
127 <indexterm zone="ch-system-libtool libltdl">
128 <primary sortas="c-libltdl">libltdl</primary>
129 </indexterm>
130 </listitem>
131 </varlistentry>
132
133 </variablelist>
134
135 </sect2>
136
137</sect1>
Note: See TracBrowser for help on using the repository browser.