Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while loading shared libraries: libpcap.so.0.8 #154

Closed
paddy235 opened this issue Oct 26, 2023 · 2 comments
Closed

error while loading shared libraries: libpcap.so.0.8 #154

paddy235 opened this issue Oct 26, 2023 · 2 comments

Comments

@paddy235
Copy link

env

[paddy@fedora scan4all_2.8.5_linux_amd64]$ hostnamectl
     Static hostname: (unset)                              
  Transient hostname: fedora
           Icon name: computer-desktop
             Chassis: desktop 🖥️
          Machine ID: 20336687736b445e97c923b619aaa657
             Boot ID: 519aac942e964664be85f6efb881fdab
    Operating System: Fedora Linux 38 (Workstation Edition)
         CPE OS Name: cpe:/o:fedoraproject:fedora:38
      OS Support End: Tue 2024-05-14
OS Support Remaining: 6month 2w 4d
              Kernel: Linux 6.5.6-200.fc38.x86_64
        Architecture: x86-64
     Hardware Vendor: Lenovo
      Hardware Model: ideacentre AIO YI-24ICB
    Firmware Version: O44KT20A
       Firmware Date: Tue 2019-01-22

run

[paddy@fedora scan4all_2.8.5_linux_amd64]$ ./scan4all -l scan_all_host_result_2023-10-17.xml  -v
./scan4all: error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory

@paddy235
Copy link
Author

解决办法:

sudo dnf install -y libpcap-devel*
sudo ln -s /usr/lib64/libpcap.so.1.10.4 /usr/lib64/libpcap.so.0.8

@hktalent
Copy link
Collaborator

如果你运行的时候出现了`libpcap.so.0.8: cannot open shared object file: No such file or directory`的错误

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants