Bug 467795 - isc-config.sh returns "-lcap" instead of "-lpcap"
Summary: isc-config.sh returns "-lcap" instead of "-lpcap"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: bind
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Adam Tkac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-20 21:50 UTC by Paul Wouters
Modified: 2013-04-30 23:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-21 08:32:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Paul Wouters 2008-10-20 21:50:34 UTC
Description of problem:
While trying to compile a program (dnsperf) against some bind libraries, which uses isc-config.sh, this call results in the wrong list of libraries required.
Instead of -lcap which does not exist on Fedora, it should return -lpcap instead.

Version-Release number of selected component (if applicable):
9.5.0-35.P2.fc9

How reproducible:
always

Steps to Reproduce:
1.isc-config.sh  --libs dns bind9
2.
3.
  
Actual results:
-L/usr/lib -lbind9 -ldns -L/usr/lib -lgssapi_krb5 -lcrypto -lisccfg -lisc -lcap -lnsl -lpthread
Expected results:
-L/usr/lib -lbind9 -ldns -L/usr/lib -lgssapi_krb5 -lcrypto -lisccfg -lisc -lpcap -lnsl -lpthread

Additional info:

Comment 1 Adam Tkac 2008-10-21 08:32:40 UTC
libcap and libpcap are two different libraries. libpcap is used for network monitoring and libcap is used as POSIX capabilities API:

$ rpm -qa |grep 'lib.*cap'
libpcap-0.9.8-3.fc10.x86_64
libcap-devel-2.10-2.fc10.x86_64
libcap-2.10-2.fc10.x86_64
libpcap-devel-0.9.8-3.fc10.x86_64

you have to install libcap-devel package.


Note You need to log in before you can comment on or make changes to this bug.