Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Apr 2022 10:33:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 262976] libpcap.so:net/libpcap will use libpcap from base
Message-ID:  <bug-262976-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262976

            Bug ID: 262976
           Summary: libpcap.so:net/libpcap will use libpcap from base
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: garga@FreeBSD.org
          Reporter: mikael@FreeBSD.org
                CC: bofh@freebsd.org, dikshie@sfc.wide.ad.jp,
                    dvl@FreeBSD.org, ehaupt@FreeBSD.org,
                    freebsd@dns.company, logan@elandsys.com,
                    m.muenz@gmail.com, pi@FreeBSD.org, yuri@freebsd.org
             Flags: maintainer-feedback?(garga@FreeBSD.org)
          Assignee: garga@FreeBSD.org

Several ports have LIB_DEPENDS=3D libpcap.so:net/libpcap in their Makefile,
probably with the intent to use libpcap from ports but it'll use libpcap fr=
om
the base system, example:

https://cgit.freebsd.org/ports/tree/graphics/pcl-pointclouds/Makefile#n33
pcl-pointclouds-1.12.1_1 depends on shared library: libpcap.so - found
(/usr/lib/libpcap.so)

Can you check your port and fix or remove the dependency if libpcap from ba=
se
is good enough?
If you really need libpcap from ports you can use the following:
XXX_DEPENDS=3D ${LOCALBASE}/lib/libpcap.a:net/libpcap
or
XXX_DEPENDS=3D libpcap.so.1:net/libpcap

The affected ports are:
graphics/pcl-pointclouds
security/snort
security/arpCounterattack
security/snort3
net/addrwatch
net/ipdecap
net/ipgrab
net/ngrep
net/libdaq
dns/dnsjit
net-mgmt/tcpreplay
net-mgmt/yaf
net-mgmt/nfdump
dns/dsc

Thanks

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262976-7788>