Mehic.info

Snort: libsfbpf.so.0 error

while exeucting

snort -c /usr/local/snort/etc/snort.conf --dump-dynamic-rules=/usr/local/snort/so_rules

Ubuntu shows following error :

error while loading shared libraries:
libsfbpf.so.0: cannot open shared object file: No such file or directory

The same error occurs while executing:

snort -c /usr/local/snort/etc/snort.conf -T

The way to solve this is to type

ldconfig

, after that try the

snort -c

command as mentioned above.