[Bug 242332] net/vde2: missing shared library if net/libpcap is installed during build but removed afterwards

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 19 22:53:25 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242332

Dmitry Marakasov <amdmi3 at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |Closed
           Assignee|ports-bugs at FreeBSD.org      |amdmi3 at FreeBSD.org
         Resolution|---                         |FIXED

--- Comment #2 from Dmitry Marakasov <amdmi3 at FreeBSD.org> ---
Should be fixed by explicitly specifying required shlib version, e.g.
LIB_DEPENDS=    libpcap.so.1:net/libpcap

grep libpcap.so in build.log before the change:

===>   vde2-2.3.2_5 depends on shared library: libpcap.so - found
(/usr/lib/libpcap.so)
===>   vde2-2.3.2_5 depends on shared library: libpcap.so - found
(/usr/lib/libpcap.so)
actual-package-depends: dependency on /usr/lib/libpcap.so not registered
(normal if it belongs to base)
actual-package-depends: dependency on /usr/lib/libpcap.so not registered
(normal if it belongs to base)
 0x0000000000000001 NEEDED               Shared library: [libpcap.so.8]

After the change:

===>   vde2-2.3.2_5 depends on shared library: libpcap.so.1 - not found
===>   vde2-2.3.2_5 depends on shared library: libpcap.so.1 - found
(/usr/local/lib/libpcap.so.1)
===>   vde2-2.3.2_5 depends on shared library: libpcap.so.1 - found
(/usr/local/lib/libpcap.so.1)
 0x0000000000000001 NEEDED               Shared library: [libpcap.so.1]

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


More information about the freebsd-ports-bugs mailing list