I’m trying install Suricata 6.0.2 on RHEL 7.6 VMs that do not have internet access, so, first, I am trying to download Suricata and all its dependencies using yumdownloader on a machine with internet access. I plan on moving the Suricata RPM and its dependencies into a local yum repository.
I ran into an issue when trying to install Suricata on my RHEL 7.6 VMs without internet access.
Yum claimed Suricata along with the dependencies that I downloaded installed successfully, but I got the following error when trying to run Suricata:
suricata: symbol lookup error: suricata: undefined symbol: LZ4F_compressUpdate
This may be out of the scope of what you guys can help me with though. But, I would greatly appreciate suggestions from anyone. It does appear to be an LZ4 library, but the same version of LZ4 is running both on my online and on my offline VM. Both machines show:
: lz4 -V
*** LZ4 command line interface 64-bits v1.7.5, by Yann Collet ***
There was a custom shared library directory, unique to our project (meaning it’s not bundled with RHEL or Centos), with an extremely out of date liblz4.so.1.4.0 file. That file does not contain the LZ4F_compressUpdate symbol.
I ran:
ldd /usr/sbin/suricata | grep -i lz4
Which showed that suricata was using the above, out of date file. I was able to run Suricata using the standard libraries on the system like so: