Fix searching for ld_linux executable on 64 bit machines
On some machines we can have more ld_linux executables specified
in /usr/bin/ldd file. This patch fixes how we search for the file.
---
src/pylorax/sysutils.py | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
- if ld_linux is None:
+ if ld_linux:
+ ld_linux = filter(os.path.isfile, ld_linux.split())
+
+ if not ld_linux:
raise LinkerError("cannot find the ld_linux executable")