Bug 3368
| Summary: | libpcap RPM has a problem in RHL6.0, and RHL5.2 | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | jlorenz |
| Component: | tcpdump | Assignee: | Harald Hoyer <harald> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 | CC: | dasergatskov, hvdkooij |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 1999-08-03 21:54:43 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
jlorenz
1999-06-09 16:04:11 UTC
Tcpdump contains libpcap so I'm changing the component When will there be a fixed libpcap package be made available? Change whatever program you are compiling to include "-I/usr/include/pcap" -- that will work no matter where pcap.h ends up. At the moment, I suspect the fix will be to change the documentation and to install bpf.h in /usr/include/pcap as well ... *** Bug 4173 has been marked as a duplicate of this bug. *** This is technically NOT a net-tools bug report, but: libpcap rpm does not have include files, libpcap-devel does not exist and finally - libpcap entry is missing from Bugzilla component selector on "enter Bug" page. (It does exist on query page.) Regards, Dmitri. tcpdump does not depend on libpcap rpm being installed - it is apparently linked statically. Wrong location for include files screwd up 'configure' script for at least some programs, so "-I/usr/include/pcap" fix does not really works. So, my solution is to uninstall libpcap rpm and compile the thing from scratch. Your configuration problem is best resolved by doing cd /usr/include ln -s pcap/pcap.h ln -s ../pcap/net/bpf.h net/bpf.h Otherwise, adding -I/usr/include/pcap to the compile flags will find pcap.h and net/bpf.h for the handful of programs that need to compile against libpcap. correctly Commit pushed to master at https://github.com/openshift/openshift-docs https://github.com/openshift/openshift-docs/commit/92684406480950d7e1b01c775bc32537ddd70424 Merge pull request #3386 from bfallonf/maven_issue3368 Issue 3368 Commented out maven section |