masscan
masscan copied to clipboard
libpcap dependency failure
[root@host html]# ./masscan
[-] FAIL: failed to load libpcap shared library
[hint]: you must install libpcap or WinPcap
[root@host html]# yum install libpcap
Running transaction
Installing : 14:libpcap-1.5.3-12.el7.x86_64 1/1
Verifying : 14:libpcap-1.5.3-12.el7.x86_64 1/1
Installed:
libpcap.x86_64 14:1.5.3-12.el7
let's try again:
[root@host html]# ./masscan
[-] FAIL: failed to load libpcap shared library
[hint]: you must install libpcap or WinPcap
@robertdavidgraham what else do we need to do? is it possible to compile masscan statically w/ all libraries in it as it used to be?
ln -s /usr/lib64/libpcap.so.1 /usr/lib64/libpcap.so
yum install libpcap-devel
worked for me
on padavan, I've already do opkg install libpcap
.
# ll /opt/lib/libpcap*
lrwxrwxrwx 1 admin root 12 Sep 5 22:50 /opt/lib/libpcap.so -> libpcap.so.1
lrwxrwxrwx 1 admin root 17 Sep 5 22:50 /opt/lib/libpcap.so.1 -> libpcap.so.1.10.1
-rw-r--r-- 1 admin root 305940 Jul 22 17:34 /opt/lib/libpcap.so.1.10.1
# ./masscan
[-] FAIL: failed to load libpcap shared library
[hint]: you must install libpcap or WinPcap
Segmentation fault
I've tried ln -s /opt/lib/libpcap.so.1.10.1 /opt/usr/lib/libpcap.so
but no use.
@lfaoro May I ask if there is any solution? Since this issue was closed
I closed it because the author didn't assist us for over 6 months, hence I assume there's no interest in solving this.