Why not just mounting it appropriately? As long as "the data" is accessible via /usr/local it generally shouldn't matter where it is actually stored physically.I had to explicit run a command to tell the linker to also look in /usr/local for libraries.
man ldconfigNote : I did a appropriately mount...
My wild guess is some linker commands are run before the mount happens.
ldconfig -v -m -R /usr/local/lib
pkg
. pkg upgrade -f
, and then find /usr/local -type f -ctime +1
, and there are no old files there (except config files I created).Yep that I would have expected to fix it.This was the command i had to run to fix it:
Code:ldconfig -v -m -R /usr/local/lib
Yes, that's simple and fast housekeeping. If there is anything there except config files, it probably shouldn't be there.PMc since pkg upgrade installs new ports I find your output "expected".
It all got much better with "staging" step that will fail the build if there are extra files being installed compared to plist.If there is anything there except config files, it probably shouldn't be there.
UseThis was the command i had to run to fix it:
service ldconfig restart
instead; though I'm wondering why you had to do that at all, did you break the cache by running the command manually without specifying -m?