Aaron Outhier Posted July 17, 2020 Share Posted July 17, 2020 @Whistle Master On a freshly restored Pineapple Nano and freshly erased (with a zero fill) and reformatted SD card, I installed the map module onto the SD card, and then pressed the button to install dependancies onto SD card. Upon launching from the Web UI, nothing seems to happen. From within an SSH terminal, I tried running nmap --help but was given an error about missing library libpcap.so.0.8 . I then issued opkg install libpcap -d sd Everything worked fine after that. Can anyone else confirm this issue and/or fix? Link to comment Share on other sites More sharing options...
a_user_name Posted August 4, 2020 Share Posted August 4, 2020 Can confirm error, but fix does not seem to work for me root@Pineapple:~# nmap --help Error loading shared library libpcap.so.0.8: No such file or directory (needed by /sd/usr/bin/nmap) Error relocating /sd/usr/bin/nmap: pcap_close: symbol not found Error relocating /sd/usr/bin/nmap: pcap_open_live: symbol not found Error relocating /sd/usr/bin/nmap: pcap_geterr: symbol not found Error relocating /sd/usr/bin/nmap: pcap_compile: symbol not found Error relocating /sd/usr/bin/nmap: pcap_get_selectable_fd: symbol not found Error relocating /sd/usr/bin/nmap: pcap_next_ex: symbol not found Error relocating /sd/usr/bin/nmap: pcap_stats: symbol not found Error relocating /sd/usr/bin/nmap: pcap_getnonblock: symbol not found Error relocating /sd/usr/bin/nmap: pcap_datalink: symbol not found Error relocating /sd/usr/bin/nmap: pcap_setfilter: symbol not found Error relocating /sd/usr/bin/nmap: pcap_setnonblock: symbol not found Error relocating /sd/usr/bin/nmap: pcap_freecode: symbol not found Error relocating /sd/usr/bin/nmap: pcap_next: symbol not found Error relocating /sd/usr/bin/nmap: pcap_lib_version: symbol not found root@Pineapple:~# opkg install libcap -d sd Installing libcap (2.27-1) to sd... Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/libcap_2.27-1_mips_24kc.ipk Configuring libcap. still same error messages after install Link to comment Share on other sites More sharing options...
a_user_name Posted August 4, 2020 Share Posted August 4, 2020 What seemed to work for med was opkg install libpcap --force-reinstall Link to comment Share on other sites More sharing options...
Aaron Outhier Posted August 4, 2020 Author Share Posted August 4, 2020 Ahh. I see. I posted the fix that worked for me. Perhaps an explanation is in order. The “-d sd” at the end instructs opkg to install the library to my SD card. If you didn’t install the nmap assets to the SD card, then this isn’t going to work for you. Simply omit the -d sd part if nmap assets are stored on internal storage. Link to comment Share on other sites More sharing options...
Captain_Nemo Posted June 23, 2022 Share Posted June 23, 2022 The suggestion to force re-install the dependency worked for me! opkg install libpcap --force-reinstall Running: - Pineapple Nano 2.7.0 - Nmap Module Version 1.9 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.