<div dir="ltr"><div>Hi,</div><div><br></div><div>Thanks for your reply.</div><div><br></div><div>As it turns out, I had some packaging issue so that all packages were not updated. After deploying new packages, the libbinpac.so of old 3.0.x line was still in use and that led to a conflict as it was compiled with GCC-4.8</div><div><br></div><div>Reinstalling all the packages led to new libbinpac.so being picked up and the issue disappeared. Zeek-3.1.1 compiled with devtoolset-7 is functioning on CentOS-7.</div><div><br></div><div>Thanks again,</div><div>Dheeraj<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 20, 2020 at 7:27 PM Johanna Amann <<a href="mailto:johanna@icir.org">johanna@icir.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I have no clue why your specific error happens - a few bugs on the <br>
Internet indicate some OS/compiler incompatibilities.<br>
<br>
That being said - my suggestion is to try using devtoolset-6. The <br>
compilers in it are still new enough to compile Zeek 3.1, we use it for <br>
the packages that we distribute - and it seems to work.<br>
<br>
Johanna<br>
<br>
On 20 May 2020, at 0:17, Dheeraj Gupta wrote:<br>
<br>
> Hi,<br>
><br>
> We have been using Zeek-3.0.x RPM packages for CentOS-7 which are <br>
> compiled<br>
> using spec file derived from zeek src package and they worked well.<br>
><br>
> Now we are considering upgrading to Zeek-3.1.x but that requires newer <br>
> GCC<br>
> compilers. We tried to use devtoolset-7 on the compiling machine to<br>
> generate packages. The packages were generated successfully but when <br>
> we<br>
> tried to run them on our CentOS-7 sensors, we had the following error<br>
><br>
> # zeekctl status<br>
> Error: running "zeek -v" failed with output:<br>
> /opt/zeek/bin/zeek: symbol lookup error: /opt/zeek/bin/zeek: undefined<br>
> symbol: _ZdlPvm<br>
><br>
> The linked libraries are<br>
><br>
> # ldd /opt/zeek/bin/zeek<br>
> linux-vdso.so.1 => (0x00007ffe73b7c000)<br>
> libbinpac.so.0 => not found<br>
> libpcap.so.1 => /lib64/libpcap.so.1 (0x00007feab99db000)<br>
> libssl.so.10 => /lib64/libssl.so.10 (0x00007feab9769000)<br>
> libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007feab9306000)<br>
> libresolv.so.2 => /lib64/libresolv.so.2 (0x00007feab90ed000)<br>
> libz.so.1 => /lib64/libz.so.1 (0x00007feab8ed7000)<br>
> libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007feab8bee000)<br>
> libpthread.so.0 => /lib64/libpthread.so.0 (0x00007feab89d2000)<br>
> libdl.so.2 => /lib64/libdl.so.2 (0x00007feab87ce000)<br>
> libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007feab84c6000)<br>
> libm.so.6 => /lib64/libm.so.6 (0x00007feab81c4000)<br>
> libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007feab7fae000)<br>
> libc.so.6 => /lib64/libc.so.6 (0x00007feab7be0000)<br>
> /lib64/ld-linux-x86-64.so.2 (0x00007feab9c1c000)<br>
> libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007feab7993000)<br>
> libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007feab778f000)<br>
> libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007feab755c000)<br>
> libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007feab734c000)<br>
> libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007feab7148000)<br>
> libselinux.so.1 => /lib64/libselinux.so.1 (0x00007feab6f21000)<br>
> libpcre.so.1 => /lib64/libpcre.so.1 (0x00007feab6cbf000)<br>
><br>
> How do we get Zeek-3.1.x to run from RPM packages on CentOS-7? I <br>
> already<br>
> tried installing devtoolset-7 on the sensor but that didn't work. Any <br>
> help<br>
> will be appreciated.<br>
><br>
><br>
> Regards,<br>
> Dheeraj<br>
> _______________________________________________<br>
> Zeek-Dev mailing list<br>
> <a href="mailto:Zeek-Dev@zeek.org" target="_blank">Zeek-Dev@zeek.org</a><br>
> <a href="http://mailman.icsi.berkeley.edu/mailman/listinfo/zeek-dev" rel="noreferrer" target="_blank">http://mailman.icsi.berkeley.edu/mailman/listinfo/zeek-dev</a><br>
</blockquote></div></div>