Hi Paul, On Sat, 13 Feb 2016 16:10:54 -0800 Paul Rogers <[email protected]> wrote: > > Since pcre-config is also installed and tells other packages the > library and links were installed in /usr/lib, wouldn't it be more > appropriate, safer, to leave them as installed and create "grep > links" in /lib here? I'm curious why you did it this way.
I'm guessing this is because the LFS book still supports the split between '/' and '/usr'. FHS mandates that the system should be able to bootup using only the binaries and libraries in '/' if '/usr' is a separate partition. If grep was recompiled after installing pcre, then the system wouldn't bootup without the /usr partition present. Some of the boot scripts in /etc/init.d use grep, and grep would not run. The dynamic linker would fail to load the pcre libraries (because they are on the missing /usr partition). On the other hand, it's safe to assume access to the libraries on the root filesystem from the /usr binaries. Mikel Rychliski -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
