From d8e181624573dd9e171d13782095ca878d063301 Mon Sep 17 00:00:00 2001 From: Danny Rawlings Date: Thu, 21 Feb 2019 11:20:21 +0100 Subject: finddeps: add lib32 to the library path --- finddeps | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/finddeps b/finddeps index 90584fb..bdd7af5 100755 --- a/finddeps +++ b/finddeps @@ -8,11 +8,11 @@ version=1.9.1 pkgdb="/var/lib/pkg/db" -export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/X11/lib:$LD_LIBRARY_PATH +export LD_LIBRARY_PATH=/lib:/usr/lib:/lib32:/usr/lib32:$LD_LIBRARY_PATH function printDep() { deps=() - files=(`awk -v p="$1" -v RS="" '$1==p' $pkgdb | awk '/(sbin|bin|lib|libexec)\//'`) + files=(`awk -v p="$1" -v RS="" '$1==p' $pkgdb | awk '/(sbin|bin|lib|lib32|libexec)\//'`) for f in ${files[*]}; do if [ -f "/$f" ]; then deps=(${deps[*]} `ldd /$f 2> /dev/null | awk '!/(linux-gate)|( dynamic)|(not found)/ {print $3}'`) -- cgit v1.2.3