The Libtool package contains the GNU generic library support script. It wraps the complexity of using shared libraries in a consistent, portable interface.
The following config.cache
entry
overrides the default search path, which does not take multilib
into account:
echo "lt_cv_sys_dlsearch_path='/lib64 /usr/lib64 /usr/local/lib64 /opt/lib64'" > config.cache
Prepare Libtool for compilation:
CC="gcc ${BUILD64}" ./configure --prefix=/usr \ --libdir=/usr/lib64 --cache-file=config.cache
Compile the package:
make
To test the results, issue:
make check
Install the package:
make install
Prepare libtool
to be wrapped by the
multiarch wrapper. Libtool by itself is not multilib aware:
mv -v /usr/bin/libtool{,-64} ln -sv multiarch_wrapper /usr/bin/libtool