tcpdump broken

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
gmesmer
DD-WRT Novice


Joined: 19 Sep 2019
Posts: 9

PostPosted: Wed Mar 18, 2020 2:02    Post subject: tcpdump broken Reply with quote
Router/Version: Linksys EA6500 V1
Mode: ap + wan disabled + samba
Kernel:
Linux 3.19.108-d10


Attempting to execute tcpdump after installing through entware shows errors

Error relocating /opt/lib/libpcap.so.1: getnetbyname_r: symbol not found
Error relocating /opt/lib/libpcap.so.1: getprotobyname_r: symbol not found

Currently there are other posts on the forum dating back to January without solutions of this problem hidden within the individual build update threads.

Linksys EA6500 V1
Firmware: DD-WRT v3.0-r42681 giga (3/13/20)
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 4469
Location: Texas, USA

PostPosted: Wed Mar 18, 2020 2:37    Post subject: Reply with quote
You have to install the libpcap package via Entware. I'm surprised it didn't resolve that dependency. This is not a firmware problem, this is a user / Entware problem.
_________________
"Are you leaving anything out of the picture, or is your post complete with all information required for us to help you? If it is not complete, fix it now."
---------------------------------------------------------
E4200 v1 DD-WRT 42819 mega K3.x
R7000P DD-WRT 40270M kongac
R7800 DD-WRT 42819 std
E4200 v1 FreshTomato 2020.2
E4200 v1 FreshTomato 2020.3.development
R7000 FreshTomato 2020.3.development
E4200 v1 1.0.07.development
WRT3200ACM OpenWRT 18.06.8
---------------------------------------------------------
Linux User #377467 counter.li.org / linuxcounter.net
gmesmer
DD-WRT Novice


Joined: 19 Sep 2019
Posts: 9

PostPosted: Wed Mar 18, 2020 3:05    Post subject: Reply with quote
Actually I have installed the libpcap library via Entware as well. The more I look into it it seems like the Entware library/build for libpcap or tcpdump must be out of date or incompatible with dd-wrt.

libpcap.so.1 is located in /opt/lib
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 4469
Location: Texas, USA

PostPosted: Wed Mar 18, 2020 3:50    Post subject: Reply with quote
Probably a kernel version issue. May have to use the .ipk files from here:

https://archive.openwrt.org/barrier_breaker/14.07/brcm47xx/mips74k/packages/base/

_________________
"Are you leaving anything out of the picture, or is your post complete with all information required for us to help you? If it is not complete, fix it now."
---------------------------------------------------------
E4200 v1 DD-WRT 42819 mega K3.x
R7000P DD-WRT 40270M kongac
R7800 DD-WRT 42819 std
E4200 v1 FreshTomato 2020.2
E4200 v1 FreshTomato 2020.3.development
R7000 FreshTomato 2020.3.development
E4200 v1 1.0.07.development
WRT3200ACM OpenWRT 18.06.8
---------------------------------------------------------
Linux User #377467 counter.li.org / linuxcounter.net
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum