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
This entry was posted in IDS/IPS, Security and tagged , , . Bookmark the permalink.

10 Responses to Snort: libsfbpf.so.0 error

  1. Debasish says:

    made my day..thanks..:)

  2. arman says:

    thank you very much, very helpfull

  3. Vivek says:

    Thanks dear..!! it worked…!!
    Thanks again for saving time.. in fixing it…!!

  4. Robert says:

    Perfect, thanks

  5. Wicked Raven says:

    Great post , worked for me too =D

  6. Chikhanov Ilja says:

    Thank you very muh!

  7. Richard Cheese says:

    as of snort 2.9.7, with latest libdnet and daq etc… this still works

  8. Awesome!
    I had same problem, but your solution worked like a charm, Thanks

  9. Dani says:

    Worked for me.

  10. Leo says:

    Thank you! I had this issue

Leave a 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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s