ICA: ranlib and ar (binutils) are different between the first build the second
|Reported by:||Bruce Dubbs||Owned by:||lfs-book|
Using obdump -x shows that libfl.so (from flex) is added in the dependencies for the second build. This is to be expected since flex is not built in chapter 5, and built much after binutils in chapter 6.
Solution build flex in chapter 5 and link /usr/lib/libfl.so* to /tools/lib in "Creating Essential Files and Symlinks".
Possible side effect Several other packages may benefit from having flex executable to generate some files. But it does not show up in ICA.
Question it is not clear how the fl library is used in ar and ranlib. So is it useful?