zeek-3.2.2 build error, when '--enable-debug' mode is enabled; OS: macOS Catalina

Hello.

I’ve run into a problem, when trying to build the zeek-3.2.2 release under macOS Catalina, verion 10.15.6.
The problem only occurs when compiling zeek in ‘debug’ mode. It successfully compiles in non-debug mode.

Please see the attached build output file.

(Side note: I was able to build the ‘debug’ version of zeek-3.2.2 under Ubuntu 18.04, without error.)

Thanks,

zeek_build_error.txt (2.18 KB)

I’ve run into a problem, when trying to build the zeek-3.2.2 release under macOS Catalina, verion 10.15.6.
The problem only occurs when compiling zeek in ‘debug’ mode. It successfully compiles in non-debug mode.

Did you get your Python via brew? I’ve hit the same issue on Big Sur.

If you’re not using the Python bindings, you can build Broker without them (–disable-python) as a workaround. Otherwise, setting the environment variable LDFLAGS to “-L/path/to/libintl.dylib” before calling the configure script should get it linking again.

Dominik

Thanks for the report, I made an issue to track it if you want to follow:

  https://github.com/zeek/zeek/issues/1351

One resolution/workaround may be to install gettext: `brew install gettext`

- Jon