If you receive following error while executing
snort -c /usr/local/snort/etc/snort.conf :
error while loading shared libraries: libsfbpf.so.0: cannot open shared object file: No such file or directory
The way to solve this is to type
ldconfig
, after that try the
snort -c
command as mentioned above.