pfSense 2.4.4_1 update has broken barnyard2
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 'Shared object "libmysqlclient.so.18" not found, required by "barnyard2"'
I experience the same problem
bmeeks last edited by
This is most likely due to updates to the MySQL shared library that happened with the pfSense 2.4.4_1 update. Barnyard2 on FreeBSD has not been updated in several years. The package has issues as a result. I'm not even sure it is maintained at the upstream source anymore. It's been a while since I've checked, though.
I will send an email to the pfSense developer responsible for the binary packages and advise him of this issue. He may post back here with a suggested fix.
Updated by Jim Pingle about 1 hour ago
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.
I just followed Jim's reco and it solved the Barnyard2 starting issue. I am able to start it now.
Thanks for the suggestion.