diff --git a/linker/ldd.sh b/linker/ldd.sh index 6bc49b4b1..56810bb1d 100755 --- a/linker/ldd.sh +++ b/linker/ldd.sh @@ -10,7 +10,7 @@ function error() { [ $# -eq 1 ] || error "usage: ldd FILE" -what=$(file -L "$1") +what=$(LD_LIBRARY_PATH= file -L "$1") case "$what" in *32-bit*) linker --list "$1"