Link to home
Start Free TrialLog in
Avatar of marceloNYC
marceloNYCFlag for United States of America

asked on

Starting snort: /usr/sbin/snort: error while loading shared libraries: libpcap.so.0.6.2


I am trying to get Snort running in my red Hat 9.0 installation and I am getting this while I am trying to run using Webmin:
Executing /etc/rc.d/init.d/snortd start ..

Starting snort: /usr/sbin/snort: error while loading shared libraries: libpcap.so.0.6.2: cannot open shared object file: No such file or directory
[FAILED]

I have tried two snort versions 2.4 and then 2.3 and also tried to install the libpcaps rpm using the webmin rmpfinder and this is a nightmare. Please help, M
Avatar of ravenpl
ravenpl
Flag of Poland image

You have to install 'libpcap' package. ('up2date libpcap' shou do it for you)
Or if You have this installed, then you need different version of libpcap or snort.
Or if libpcap is installed You could try 'ln -sf /usr/lib/libpcap.so.your.version /usr/lib/libpcap.so.0.6.2'
You can also try install libpcap via yum just type as root:

yum install libpcap
But I thought that yum appeard on fedora - that redhat hasn;t that tool...
ASKER CERTIFIED SOLUTION
Avatar of slyong
slyong

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial