Many thanks for your answer Stuart ... Finally, I have compiled Zeek 3.0.3-dev.3 an all goes ok during compilation ... But zeek doesn't capture any packet ... and tcpdump works without problems and I can see all traffic ...
-- Regards, C. L. Martinez On 07/03/2020, 22:08, "owner-m...@openbsd.org on behalf of Stuart Henderson" <owner-m...@openbsd.org on behalf of s...@spacehopper.org> wrote: On 2020-03-07, Carlos Lopez <clo...@outlook.com> wrote: > Hi all, > > I am trying to install Zeek 3.0.2 under OpenBSD 6.6 amd64 fully patched but compilation returns me the following error: > > [ 97%] Building C object src/CMakeFiles/zeek.dir/nb_dns.c.o > [ 97%] Linking CXX executable zeek > ld: error: unable to find library -llibbinpac.so.VERSION > c++: error: linker command failed with exit code 1 (use -v to see invocation) > *** Error 1 in build (src/CMakeFiles/zeek.dir/build.make:1826 'src/zeek') > *** Error 1 in build (CMakeFiles/Makefile2:1661 'src/CMakeFiles/zeek.dir/all') > *** Error 1 in build (Makefile:152 'all') > *** Error 1 in /root/builds/src/zeek-3.0.2 (Makefile:15 'all') > > But libbinpac.so exists compiled under the source dirs.: > > root@obsd66:~/builds/src/zeek-3.0.2# find . -name "*binpac.so" > ./build/aux/binpac/lib/libbinpac.so > root@obsd66:~/builds/src/zeek-3.0.2 > > Any tip to solve this issue? > You're probably better off using the port. There is a fair chance that if you update *just* the net/bro directory (the port dir wasn't renamed but the package was) to -current that it will build, and if not, you'll be closer to getting it working. Or the easy option, update to -current, pkg_add zeek.