perl -e scenario. My new solution (with some help from rjbs) is actually even simpler than what I'm doing now. The downside is it's not really portable. Should work for most *nixes and I only really need it to work on Linux, so I'm good.
$ENV{LID_LIBRARY_PATH} = '/some/computed/path';
exec(split("\0", `cat/proc/$$/cmdline`));
LD_LIBRARY_PATH trick PART 2 0 Comments More | Login | Reply /