From 66aa98265dd215dcd4c717e7ef6845fbac859e54 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Tue, 15 Jul 2014 11:06:32 +0200 Subject: [PATCH] appliance: init: run ldconfig Run ldconfig early in the init script, so libraries outside standard library paths but with a proper ld.so configuration file pointing at them can be found. --- appliance/init | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/appliance/init b/appliance/init index b407bf9c8..0ac7fbf57 100755 --- a/appliance/init +++ b/appliance/init @@ -10,6 +10,10 @@ RUNLEVEL=S PREVLEVEL=N export RUNLEVEL PREVLEVEL +# Make sure to find all the libraries, also those in non-standard place +# but with a proper ld.so configuration pointing at them +ldconfig + # Try to print a stack trace for segfaults inside the appliance. for d in /lib64 /lib; do f=$d/libSegFault.so