Snort: libsfbpf.so.0 error

While I was doing snort -c /usr/local/snort/etc/snort.conf --dump-dynamic-rules=/usr/local/snort/so_rules CentOS6.2 received an error like this:

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

The same error occurs when doing 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.

Advertisements

10 thoughts on “Snort: libsfbpf.so.0 error

Leave a Reply to Abdullah Mughal (@IstyloMax) Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s