tcpdump mailing list archives

Re: [tcpdump] 7 tests fail on Ubuntu 11.10 (#33)


From: Denis Ovsienko <infrastation () yandex ru>
Date: Wed, 10 Oct 2012 01:47:25 +0400

05.10.2012, 23:07, "Michael Richardson" <mcr () sandelman ca>:
 "Marc" == Marc Abramowitz <notifications () github com> writes:

    Marc> After I observed 7 tests failing on Travis CI (which uses
    Marc> Ubuntu) in #32, I tried running the tests in an Ubuntu 11.10
    Marc> virtual machine and also got 7 test failures there.

It's likely you do not have libssl-dev installed, so tcpdump is
configured without the ability to decode ESP (IPsec) packets.

    Marc> esp1: failed.  esp2: failed.  esp3: failed.  esp4: failed.

This bug is specific to a 64-bit build. The matter is, $libdir alwayss end in "/lib" and this "lib" is later used to 
locate libcrypto.so (see AC_LBL_SSLEAY). This way, an installed openssl-devel is never detected by default on a 64-bit 
system, because the library files are in /usr/lib64. On a 32-bit system detection works fine and all tests pass.

To make the configure detect openssl-devel on a 64-bit system it should be run this way:

./configure --with-crypto --libdir=/usr/lib64

After that all tests pass.

-- 
    Denis Ovsienko
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Current thread: