Snort barnyard2 / pfSense 2.4.4-p1 issue
After updating to 2.4.4-p1 barnyard2 will no longer run as libmysqlclient.so.18 is missing.
Dec 3 16:34:51 php-fpm 4880 /snort/snort_interfaces.php: The command '/usr/local/bin/barnyard2 -r 16395 -f "snort_16395_igb0.5.u2" --pid-path /var/run --nolock-pidfile -c /usr/local/etc/snort/snort_16395_igb0.5/barnyard2.conf -d /var/log/snort/snort_igb0.516395 -D -q' returned exit code '1', the output was '*S*hared object "libmysqlclient.so.18" not found**, required by "barnyard2"'
[2.4.4-RELEASE][admin@pfsense]/usr/local/bin: ldd barnyard2
libmysqlclient.so.18 => not found (0)
libz.so.6 => /lib/libz.so.6 (0x800870000)
libpcap.so.1 => /usr/local/lib/libpcap.so.1 (0x800a88000)
libm.so.5 => /lib/libm.so.5 (0x800cd4000)
libbroccoli.so.5 => /usr/local/lib/libbroccoli.so.5 (0x800f01000)
libc.so.7 => /lib/libc.so.7 (0x801125000)
libssl.so.8 => /usr/lib/libssl.so.8 (0x8014c9000)
libcrypto.so.8 => /lib/libcrypto.so.8 (0x801800000)
#1 Updated by Jim Pingle 5 months ago
- Assignee deleted (
That library is a part of mysql56-client-5.6.41 which is there for 2.4.4-p1. If it isn't pulled in by barnyard2 that's an issue with the pkg dependencies.
You can probably work around it by running
pkg install -fy mysql56-client until the package maintainer can get it sorted.