pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 11 beta users: please update base and rebuild pkgs



* On 2025-11-21 at 12:17 GMT, Marcin Gondek wrote:

Do we have some easy way to check such dependency of installed packages?

Something like this:

  $ pkg_info -Xa \
    | awk -F= '/^PKGNAME/ {p = $2} /^REQUIRES/ && $2 ~ /pthread|crypto/ {print p}' \
    | uniq

Modify library match to suit. Note for completeness sake that this wouldn't work on e.g. macOS where the system libraries are filtered out due to silly Apple reasons.

--
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index