FS#51763 - [ngrep] recompile against libpcap

Attached to Project: Community Packages
Opened by ibrahim tunali (itunali) - Wednesday, 09 November 2016, 11:44 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Saturday, 25 March 2017, 11:28 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
libpcap has been upgraded to 1.8.1 and it needs to recompile against libpcap.

Additional info:
* ngrep 1.45-11
* it works when libpcap downgrade to 1.7.4-1


Steps to reproduce:
# sudo ngrep -d lo port 8080
ngrep: symbol lookup error: ngrep: undefined symbol: pcap_restart
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Saturday, 25 March 2017, 11:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  ngrep 1.45-12
Comment by Dan LaManna (danlamanna) - Sunday, 20 November 2016, 22:07 GMT
Can reproduce running libpcap 1.8.1-2 and ngrep 1.45-11.
Comment by ibrahim tunali (itunali) - Monday, 21 November 2016, 06:47 GMT
itunali@acer ~> pacman -Qi libpcap ngrep | egrep "Version|Name"
Name : libpcap
Version : 1.8.1-2
Name : ngrep
Version : 1.45-11
itunali@acer ~> sudo ngrep -d lo -W byline -qt port 8080
interface: lo (127.0.0.0/255.0.0.0)
ngrep: symbol lookup error: ngrep: undefined symbol: pcap_restart
Comment by cgm999 (cgm999) - Friday, 25 November 2016, 16:30 GMT
We need to add --disable-pcap-restart on configure line (I am not sure what pcap restart provides)

./configure --prefix=/usr --with-pcap-includes=/usr/include/pcap --enable-ipv6 --enable-pcre --disable-pcap-restart
Comment by cgm999 (cgm999) - Wednesday, 18 January 2017, 08:38 GMT
Hi,

This is still an issue,

[root@silver cgm]# ngrep -q host 1.1.1.1
interface: wlan0 (192.168.1.1/255.255.255.0)
ngrep: symbol lookup error: ngrep: undefined symbol: pcap_restart

[root@silver cgm]# pacman -Q ngrep
ngrep 1.45-11
Comment by Michael Hauser-Raspe (crashandburn4) - Tuesday, 28 February 2017, 11:04 GMT
This is still an issue. Is there any way we can contribute to help this get fixed?
Comment by cgm999 (cgm999) - Sunday, 05 March 2017, 08:02 GMT
Lukas:
Please patch PKGBUILD configure line to include "--disable-pcap-restart" , that will fix this issue.

Loading...