erm one thought.
when we run the apps whats to stop us simply saying:
In a shell script that lives in the same directory as the binary.
export LD_LIBRARY_PATH=$PWD/libs:/usr/lib:/lib
Then reverting when it dies?
Then I can shove the libs in a nice tidy relative directory (assuming they don't do anything suicidal on FAT like generate sym links in the directory) and we can all go home for Tea
Thoughts on that? the Tea is non optional.
Other beverages will be served for heretics.
Seem's simple and elegant. there must be a flaw. : )
Last edited by twobob; 08-20-2012 at 10:10 PM.
Reason: disclaimer
|