NetBSD Problem Report #55901

From  Sat Jan  2 08:52:59 2021
Return-Path: <>
Received: from ( [])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 7CCD11A923B
	for <>; Sat,  2 Jan 2021 08:52:59 +0000 (UTC)
Message-Id: <>
Date: Sat,  2 Jan 2021 08:52:58 +0000 (UTC)
Subject: pkg-config script from libpcap isn't generated correctly
X-Send-Pr-Version: www-1.0

>Number:         55901
>Category:       lib
>Synopsis:       pkg-config script from libpcap isn't generated correctly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 02 08:55:00 +0000 2021
>Originator:     Guy Harris
>Release:        9.0
NetBSD netbsd-90.localdomain 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020 amd64

If you run

    /usr/bin/pcap-config --libs

it prints

    -L/usr/lib  -l@PACKAGE_NAME@

It *should* print

     -L/usr/lib  -lpcap

Perhaps the build process isn't doing the "replace '@{config-variable-name}@' with the value of the config variable in question" process that it should do when turning into pcap-config.

    /usr/bin/pcap-config --libs

from the command line, and see what its output is.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.