Call print_so_deps() just after "make install", so if dynamic linking
has failed for some reason, the failure to run tcpdump binary will not
prevent printing the details. Lose "tcpdump --version" because version
information is a part of "tcpdump -h" output.
-- Installing: /tmp/tcpdump_build_matrix.XXyKaiEo/bin/tcpdump
-- Set runtime path of "/tmp/tcpdump_build_matrix.XXyKaiEo/bin/tcpdump" to ""
-- Installing: /tmp/tcpdump_build_matrix.XXyKaiEo/share/man/man1/tcpdump.1
$ /tmp/tcpdump_build_matrix.XXyKaiEo/bin/tcpdump --version
ld.so.1: tcpdump: fatal: libpcap.so.1: open failed: No such file or directory
(cherry picked from commit
b1dca9b165677e170a9ed65ae5087de8a122df0d)
esac
run_after_echo make -s ${CFLAGS:+CFLAGS="$CFLAGS"}
run_after_echo make install
-run_after_echo "$TCPDUMP_BIN" --version
+print_so_deps "$TCPDUMP_BIN"
run_after_echo "$TCPDUMP_BIN" -h
run_after_echo "$TCPDUMP_BIN" -D
-print_so_deps "$TCPDUMP_BIN"
if [ "$CIRRUS_CI" = true ]; then
run_after_echo sudo \
${LD_LIBRARY_PATH:+LD_LIBRARY_PATH="$LD_LIBRARY_PATH"} \