Bug 1707919

Summary: libpcap-devel missing in RHEL 8
Product: Red Hat Enterprise Linux 8 Reporter: Nils Olav Selåsdal <nos>
Component: libpcapAssignee: Michal Ruprich <mruprich>
Status: CLOSED NOTABUG QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: grant_curell, herrold
Target Milestone: rc   
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-22 07:05:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nils Olav Selåsdal 2019-05-08 17:01:15 UTC
Description of problem:

Header files for libpcap is missing in RHEL 8. Those files would normally be found in the libpcap-devel package, but no package seems to provide the pcap header files.


Version-Release number of selected component (if applicable):
libpcap-1.9.0-1.el8.x86_64

The libpcap-1.9.0-1.el8.x86_64 package contains /usr/lib64/pkgconfig/libpcap.pc , which would normally be found in a -devel package.

Comment 1 Michal Ruprich 2019-05-15 13:25:10 UTC
Hi Nils,

it is not missing, but as it is a -devel package, it is located in a separate repository - CodeReady Builder. You need a developer subscription to access that. More about the repo here: https://developers.redhat.com/blog/2018/11/15/introducing-codeready-linux-builder/

Regards,
Michal

Comment 2 Grant Curell 2019-11-09 21:39:24 UTC
For anyone else running into this problem do the following:

Run `subscription-manager list --available | less` and find the subscription which
provides CodeReady for x86. Note the pool number associated with the subscription.

Run `subscription-manager attach --pool=<POOL_NUMBER>` to enable the subscription.

Then run: `subscription-manager repos --enable=codeready-builder-for-rhel-8-x86_64-rpms` to enable the repo.

`dnf search libpcap` should now include libpcap-devel.