<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>I'm getting my a$$ kicked, but I'm stubborn.</div><div><br data-mce-bogus="1"></div><div>I'm building LFS 7.10 on 3 architectures. &nbsp;I went the package management route using GNU stow. &nbsp;In chapter 6 I'm at 99.9% stowed. &nbsp;The only real files are config file in /etc. &nbsp;Everything is in /usr/pkg/$(uname -m)/&lt;pkg name&gt;.</div><div><br data-mce-bogus="1"></div><div>As you can imagine this has been a real pain. &nbsp;:) &nbsp;</div><div>Stow is strict and has no concept of pre and post operations. &nbsp;I've wrapped it. &nbsp;In BLFS I installed 122 perl modules all stowed. &nbsp;I've even booted this system so I know it works.</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>I got bit today. &nbsp;My script to compress man pages did something wrong during 6.20 for ncurses and I did not notice till 6.60. &nbsp;I re-ran my compilation script which destows the package. &nbsp;BOOM! &nbsp;bash and awk failed due to missing ncurses library. &nbsp;Those packages were compiled later in chapter 6.</div><div><br data-mce-bogus="1"></div><div>I've fixed, but I need to fix my wrapper. &nbsp;How do I go about upgrading a library? &nbsp;Should I stow (create links) for the upgrade into a temp directory, use LD_LIBRARY_PATH then remove old and replace with new? &nbsp;Maybe static awk and static bash? &nbsp;I already have a busybox static binary that I can use, but many configure scripts will choke on the limited options for those applets.</div><div><br data-mce-bogus="1"></div><div>As I look at the scripts I've created to do all this I'm thinking I am re-creating RPM. &nbsp;The LFS manual does not go into detail on package management.</div><div>Stow is very strict. &nbsp;On x86_64 /lib64 -&gt; /lib will stow an attempt to stow in /lib64 because it is owned by /lib and there no way I can tell stow that system links lik that should be okay. I could modify stow. &nbsp;</div><div><br data-mce-bogus="1"></div><div>Chris</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div></div></body></html>