git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@1102
959494ce-11ee-0310-bf91-
de5d638817bd
if [ "${dir:0:1}" == "#" ]; then
continue
elif [ -d "$dir" ]; then
if [ "${dir:0:1}" == "#" ]; then
continue
elif [ -d "$dir" ]; then
- ldpath=$("${LDPATH[@]}" "$dir")
+ ldpath=("${ldpath[@]}" "$dir")
fi
done </etc/ld.so.conf
ldpath=("${ldpath[@]}" /usr/lib /lib)
fi
done </etc/ld.so.conf
ldpath=("${ldpath[@]}" /usr/lib /lib)
objdump -p "$1" | sed -n 's/^.*NEEDED \+\(lib.*\)/\1/p' >"$tfile"
while read lib; do
if ! lib2="$(findlib "$lib")"; then
objdump -p "$1" | sed -n 's/^.*NEEDED \+\(lib.*\)/\1/p' >"$tfile"
while read lib; do
if ! lib2="$(findlib "$lib")"; then
- echo "lddot: $lib: not found" >&2
- rm -f "$tfile"
- return 1
+ echo "\"$lib\" [ color=red ];"
+ echo "\"$1\" -> \"$lib\";"
+ continue
fi
lib="$lib2"
unset lib2
fi
lib="$lib2"
unset lib2