<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Chris Fowler" <cfowler@outpostsentinel.com><br><b>To: </b>ale@ale.org<br><b>Sent: </b>Wednesday, September 21, 2016 5:46:58 PM<br><b>Subject: </b>[ale] library package management on LFS with stow<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000;"><div><br></div><br><div>I've fixed, but I need to fix my wrapper. How do I go about upgrading a library? Should I stow (create links) for the upgrade into a temp directory, use LD_LIBRARY_PATH then remove old and replace with new? Maybe static awk and static bash? 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></blockquote><div><br></div><div>I think I know. My build script removes all data for the package I'm building.</div><div><br data-mce-bogus="1"></div><div>1. Rebuild the package</div><div>2. destow the original package. This deletes links. Any binary using a library is still running with it.</div><div>3. move the pkg directory to another name.</div><div>4. stow new</div><div>5. delete the old package directory.</div><div><br data-mce-bogus="1"></div></div></div></body></html>