%general-entities; ]> libtool &libtool-version;
&libtool-url;
Libtool-&libtool-version; Libtool <para>The Libtool package contains the GNU generic library support script. It wraps the complexity of using shared libraries in a consistent, portable interface.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&libtool-fin-sbu;</seg> <seg>&libtool-fin-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Libtool Prepare Libtool for compilation: ./configure --prefix=/usr Compile the package: make To test the results, issue: make check The test time for libtool can be reduced significantly on a system with multiple cores. To do this, append TESTSUITEFLAGS=-j<N> to the line above. For instance, using -j4 can reduce the test time by over 60 percent. Five tests are known to fail in the LFS build environment due to a circular dependency, but all tests pass if rechecked after automake is installed. Install the package: make install Remove an useless static library: rm -fv /usr/lib/libltdl.a Installation of Libtool - 32bit Clean previous build: make distclean Prepare Libtool for compilation: CC="gcc -m32" ./configure \ --prefix=/usr \ --libdir=/usr/lib32 \ --host=i686-pc-linux-gnu Compile the package: make Install the package: make DESTDIR=$PWD/DESTDIR install cp -Rv DESTDIR/usr/lib32/* /usr/lib32 rm -rf DESTDIR Installation of Libtool - x32bit Clean previous build: make distclean Prepare Libtool for compilation: CC="gcc -mx32" ./configure \ --prefix=/usr \ --libdir=/usr/libx32 \ --host=x86_64-pc-linux-gnux32 Compile the package: make Install the package: make DESTDIR=$PWD/DESTDIR install cp -Rv DESTDIR/usr/libx32/* /usr/libx32 rm -rf DESTDIR Contents of Libtool Installed programs Installed libraries Installed directories libtool and libtoolize libltdl.so /usr/include/libltdl and /usr/share/libtool Short Descriptions libtool Provides generalized library-building support services libtool libtoolize Provides a standard way to add libtool support to a package libtoolize libltdl Hides the various difficulties of dlopening libraries libltdl