<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 &lt;<a href="mailto:johanna@icir.org">johanna@icir.org</a>&gt; 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>
&gt; Hi,<br>
&gt;<br>
&gt; We have been using Zeek-3.0.x RPM packages for CentOS-7 which are <br>
&gt; compiled<br>
&gt; using spec file derived from zeek src package and they worked well.<br>
&gt;<br>
&gt; Now we are considering upgrading to Zeek-3.1.x but that requires newer <br>
&gt; GCC<br>
&gt; compilers. We tried to use devtoolset-7 on the compiling machine to<br>
&gt; generate packages. The packages were generated successfully but when <br>
&gt; we<br>
&gt; tried to run them on our CentOS-7 sensors, we had the following error<br>
&gt;<br>
&gt; # zeekctl status<br>
&gt; Error: running &quot;zeek -v&quot; failed with output:<br>
&gt; /opt/zeek/bin/zeek: symbol lookup error: /opt/zeek/bin/zeek: undefined<br>
&gt; symbol: _ZdlPvm<br>
&gt;<br>
&gt; The linked libraries are<br>
&gt;<br>
&gt; # ldd /opt/zeek/bin/zeek<br>
&gt; linux-vdso.so.1 =&gt;  (0x00007ffe73b7c000)<br>
&gt; libbinpac.so.0 =&gt; not found<br>
&gt; libpcap.so.1 =&gt; /lib64/libpcap.so.1 (0x00007feab99db000)<br>
&gt; libssl.so.10 =&gt; /lib64/libssl.so.10 (0x00007feab9769000)<br>
&gt; libcrypto.so.10 =&gt; /lib64/libcrypto.so.10 (0x00007feab9306000)<br>
&gt; libresolv.so.2 =&gt; /lib64/libresolv.so.2 (0x00007feab90ed000)<br>
&gt; libz.so.1 =&gt; /lib64/libz.so.1 (0x00007feab8ed7000)<br>
&gt; libkrb5.so.3 =&gt; /lib64/libkrb5.so.3 (0x00007feab8bee000)<br>
&gt; libpthread.so.0 =&gt; /lib64/libpthread.so.0 (0x00007feab89d2000)<br>
&gt; libdl.so.2 =&gt; /lib64/libdl.so.2 (0x00007feab87ce000)<br>
&gt; libstdc++.so.6 =&gt; /lib64/libstdc++.so.6 (0x00007feab84c6000)<br>
&gt; libm.so.6 =&gt; /lib64/libm.so.6 (0x00007feab81c4000)<br>
&gt; libgcc_s.so.1 =&gt; /lib64/libgcc_s.so.1 (0x00007feab7fae000)<br>
&gt; libc.so.6 =&gt; /lib64/libc.so.6 (0x00007feab7be0000)<br>
&gt; /lib64/ld-linux-x86-64.so.2 (0x00007feab9c1c000)<br>
&gt; libgssapi_krb5.so.2 =&gt; /lib64/libgssapi_krb5.so.2 (0x00007feab7993000)<br>
&gt; libcom_err.so.2 =&gt; /lib64/libcom_err.so.2 (0x00007feab778f000)<br>
&gt; libk5crypto.so.3 =&gt; /lib64/libk5crypto.so.3 (0x00007feab755c000)<br>
&gt; libkrb5support.so.0 =&gt; /lib64/libkrb5support.so.0 (0x00007feab734c000)<br>
&gt; libkeyutils.so.1 =&gt; /lib64/libkeyutils.so.1 (0x00007feab7148000)<br>
&gt; libselinux.so.1 =&gt; /lib64/libselinux.so.1 (0x00007feab6f21000)<br>
&gt; libpcre.so.1 =&gt; /lib64/libpcre.so.1 (0x00007feab6cbf000)<br>
&gt;<br>
&gt; How do we get Zeek-3.1.x to run from RPM packages on CentOS-7? I <br>
&gt; already<br>
&gt; tried installing devtoolset-7 on the sensor but that didn&#39;t work. Any <br>
&gt; help<br>
&gt; will be appreciated.<br>
&gt;<br>
&gt;<br>
&gt; Regards,<br>
&gt; Dheeraj<br>
&gt; _______________________________________________<br>
&gt; Zeek-Dev mailing list<br>
&gt; <a href="mailto:Zeek-Dev@zeek.org" target="_blank">Zeek-Dev@zeek.org</a><br>
&gt; <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>