6.41. Libtool-2.4.6

The Libtool package contains the GNU generic library support script. It wraps the complexity of using shared libraries in a consistent, portable interface.

Approximate build time: 2.0 SBU
Required disk space: 48 MB

6.41.1. Installation of Libtool

6.41.2. 32-bit Installation

Prepare Libtool for 32-bit compilation:

./configure --prefix=/usr \
    --libdir=/usr/lib32   \
    CC="gcc -m32" CXX="g++ -m32"

Compile the package:

make

To test the results (about 11.0 SBU), issue:

make check

Five tests are known to fail in the LFS build envronment due to a circular dependency, but all tests pass if rechecked after automake is installed.

Install the package:

make install

Clean up the build directory before moving on to the next platform:

make clean

6.41.3. x32 ABI Installation

Prepare Libtool for x32 ABI compilation:

./configure --prefix=/usr \
    --libdir=/usr/libx32   \
    CC="gcc -mx32" CXX="g++ -mx32"

Compile the package:

make

To test the results (about 11.0 SBU), issue:

make check

Five tests are known to fail in the LFS build envronment due to a circular dependency, but all tests pass if rechecked after automake is installed.

Install the package:

make install

Clean up the build directory before moving on to the next platform:

make clean

6.41.4. 64-bit Installation

Prepare Libtool for 64-bit compilation:

./configure --prefix=/usr

Compile the package:

make

To test the results (about 11.0 SBU), issue:

make check

Five tests are known to fail in the LFS build envronment due to a circular dependency, but all tests pass if rechecked after automake is installed.

Install the package:

make install

6.41.5. Contents of Libtool

Installed programs: libtool and libtoolize
Installed libraries: libltdl.{a,so}
Installed directories: /usr/include/libltdl and /usr/share/libtool

Short Descriptions

libtool

Provides generalized library-building support services

libtoolize

Provides a standard way to add libtool support to a package

libltdl

Hides the various difficulties of dlopening libraries