The Libtool package contains the GNU generic library support script. It makes the use of shared libraries simpler with a consistent, portable interface.
Prepare Libtool for compilation:
./configure --prefix=/usr
Compile the package:
make
To test the results, issue:
make -k check
Five tests are known to fail in the LFS build environment due to a circular dependency, but these tests pass if rechecked after automake has been installed. Additionally, with grep-3.8 or newer, two tests will trigger a warning for non-POSIX regular expressions and fail.
Install the package:
make install
Remove a useless static library:
rm -fv /usr/lib/libltdl.a
Clean previous build:
make distclean
Prepare Libtool for compilation:
CC="gcc -mx32" ./configure \ --host=x86_64-pc-linux-gnux32 \ --prefix=/usr \ --libdir=/usr/libx32
Compile the package:
make
Install the package:
make DESTDIR=$PWD/DESTDIR install cp -Rv DESTDIR/usr/libx32/* /usr/libx32 rm -rf DESTDIR