| Summary: | net/vde2: missing shared library if net/libpcap is installed during build but removed afterwards | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Ting-Wei Lan <lantw44> |
| Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | garga, lwhsu |
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Ting-Wei Lan
2019-12-01 04:01:29 UTC
Any proposed patch? Perhaps specify rpath? 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] A commit references this bug: Author: amdmi3 Date: Fri Feb 19 22:53:07 UTC 2021 New revision: 566105 URL: https://svnweb.freebsd.org/changeset/ports/566105 Log: - Fix dependency on ports libpcap by explicitly specifying shlib version PR: 242332 Reported by: lantw44@gmail.com Changes: head/net/vde2/Makefile A commit references this bug: Author: amdmi3 Date: Fri Feb 19 23:00:19 UTC 2021 New revision: 566106 URL: https://svnweb.freebsd.org/changeset/ports/566106 Log: MFH: r566105 - Fix dependency on ports libpcap by explicitly specifying shlib version PR: 242332 Reported by: lantw44@gmail.com Changes: _U branches/2021Q1/ branches/2021Q1/net/vde2/Makefile |