Add /etc/ so the dynamic loader has a path even if LD_LIBRARY_PATH is not set
authorRonald G. Minnich <>
Tue, 12 Aug 2014 23:50:09 +0000 (23:50 +0000)
committerRonald G. Minnich <>
Tue, 12 Aug 2014 23:50:09 +0000 (23:50 +0000)
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
you can never run another dynamically linked command.

So put /lib into /etc/; 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 <>
kern/kfs/etc/ [new file with mode: 0644]

diff --git a/kern/kfs/etc/ b/kern/kfs/etc/
new file mode 100644 (file)
index 0000000..502167f
--- /dev/null
@@ -0,0 +1 @@