In some cases PAM may use Berkeley DB libraries. We should probably
change the bdb build to move the libraries to /lib:
...
../dist/configure --prefix=/usr \
--libdir=/lib \ <-- added
--enable-compat185 \
--enable-dbm \
--disable-static \
--enable-cxx &&
...
ln -sv ../../lib/$(readlink /lib/libdb.so) /usr/lib/libdb.so
ln -sv ../../lib/$(readlink /lib/libdb.so) /usr/lib/libdb-5.so
ln -sv ../../lib/$(readlink /lib/libdb_cxx.so) /usr/lib/libdb_cxx.so
ln -sv ../../lib/$(readlink /lib/libdb_cxx.so) /usr/lib/libdb_cxx-5.so
rm -fv /lib/{libdb*.la,libdb{,-5}.so,libdb_cxx{,-5}.so}
This also deletes the .la files which are not needed and would be wrong
anyway.
What do you think?
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page