[Zeek] Compilation without linux-vdso

Jon Siwek jsiwek at corelight.com
Mon Feb 18 08:13:31 PST 2019


On Fri, Feb 15, 2019 at 9:02 PM Nafisa Mandliwala
<nafisa.mandliwala at gmail.com> wrote:

> I then tried to run configure like this-
> CC=<path to gcc> CXX=<path to g++> CFLAGS=<path to glibc> CXXFLAGS=<path to glibc> ./configure
>
> This picks the right compiler but runs into issues with openssl (header not found). I tried adding root and include paths for openssl by calling append_cache_entry() but it doesn't work.

I'd first try using the --with-openssl= configure option before
manually patching in workarounds.

Or if you must patch, I'd probably hack in custom paths just before
"FindRequiredPackage(OpenSSL)" in CMakeLists.txt rather than the
configure script.  If you're patching source code directly and still
have problems, it's hard to help further unless you give the exact
patch you are using.

> Was just wondering if I'm missing something here? Are there more changes required to safely replace the default compiler?

I think you were setting the compiler fine, but sounds like now the
OpenSSL headers not being found is likely a separate/unrelated issue
to figure out.

- Jon


More information about the Zeek mailing list