Add /etc/ld.so.conf so the dynamic loader has a path even if LD_LIBRARY_PATH is not set
authorRonald G. Minnich <rminnich@gmail.com>
Tue, 12 Aug 2014 23:50:09 +0000 (23:50 +0000)
committerRonald G. Minnich <rminnich@gmail.com>
Tue, 12 Aug 2014 23:50:09 +0000 (23:50 +0000)
commitdca513882cec49ae570605f3eace49fc63dfc357
treeabc4a2386c703a379416e3454a0d3c92fe9cb8fe
parent0b8cdf48b719683fe5a381ab7823f236f952a3e9
Add /etc/ld.so.conf so the dynamic loader has a path even if LD_LIBRARY_PATH is not set

In Akaros, if LD_LIBRARY_PATH is not set, then no .so's will be found. This breaks
a Go test which resets the environment.

Or if you
unset LD_LIBRARY_PATH
you can never run another dynamically linked command.

So put /lib into /etc/ld.so.conf; this gets us past one part of the
os/exec benchmark.

This is ugly but workable. It's disappointing to bring this kind of ugliness into
Akaros but so it goes.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
kern/kfs/etc/ld.so.conf [new file with mode: 0644]