View Single Post
Old 08-20-2012, 01:31 PM   #4
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Those "php code" tags make it look pretty enough to work.
None of the ugly black and white scripting.

I **think** you have the pairs in the search order paths interchanged.
As in, for the trusted system library paths:
/usr/lib:/lib rather than /lib:/usr/lib
Putting all the */usr/<whatever> before the */<whatever> allows the local install to "override" the system installed objects.

Same reasoning for */local/* those go before the "fixed" directories in the path to allow the local install to "override" the system installed objects.

There is probably a "spec" on this, somewhere, I don't know the reference off-hand.

An example:
/mnt/us/usr/bin:/mnt/us/bin:/usr/local/bin:/usr/bin:/bin
Same for sbin

And invert the order of ld_library_path - same reasoning, the most specific first.
Hmm... Once you do that, you might not have to pre-load the "C" library.
knc1 is offline   Reply With Quote