The libraries are installed under /usr/local/lib/ntp. They should be installed on /usr/local/lib. # /usr/local/bin/ntpq -p Traceback (most recent call last): File "/usr/local/bin/ntpq", line 26, in <module> import ntp.ntpc File "/usr/local/lib/python3.7/site-packages/ntp/ntpc.py", line 52, in <module> _ntpc = _importado() File "/usr/local/lib/python3.7/site-packages/ntp/ntpc.py", line 38, in _importado return _dlo(ntpc_paths) File "/usr/local/lib/python3.7/site-packages/ntp/ntpc.py", line 49, in _dlo raise OSError("Can't find %s library" % LIB) OSError: Can't find ntpc library
Fixed. Thanks for reporting!
A commit references this bug: Author: yuri Date: Thu Jan 21 10:39:00 UTC 2021 New revision: 562194 URL: https://svnweb.freebsd.org/changeset/ports/562194 Log: net/ntpsec: Fix runtime failure due to non-standard library location. USE_LDCONFIG fixes that. PR: 252879 Reported by: Borja Marcos <borjam@sarenet.es> Changes: head/net/ntpsec/Makefile