Error while loading shared libraries: libhtp.so.2

I am trying to use suricata 6.0.0 on Centos7.8 and while running getting this error :slight_smile:

/usr/bin/suricata: error while loading shared libraries: libhtp.so.2: cannot open shared object file: No such file or directory

i can see the library on /usr/lib folder
lrwxrwxrwx. 1 root root 15 Oct 19 16:32 libhtp.so.2 -> libhtp.so.2.0.0

Can you guide me to fix this.

Thank you In Advance !!!

You probably just need to run sudo ldconfig. Typically I haven’t seen this requirement on CentOS, but its not an uncommon thing to need to do in Linux-world.

1 Like

yes it looks like running now . However getting another error :sa:
[ERRCODE: SC_ERR_SYSCALL(50)] - Failure when trying to set feature via ioctl for 'eth0': Operation not supported (95)

I am running with ‘root’ user
Can you help me on this ?

It could that your device does not support the flag Suricata is trying to set. Did Suricata exit? Or keep running?

Suricata is still running ,only showing that message at start .

tank you, very helpfull…