Can't find ntpc on NetBSD

Hal Murray halmurray at sonic.net
Thu Jan 30 10:30:14 UTC 2025


I'm update/upgrading and cleaning up my NetBSD boxes.

ntpmon broke.  Python gave a backtrace rather than a simple error message.

  File "/usr/local/lib/python3.13/site-packages/ntp/ntpc.py", line 41, in 
_importado
    return _dlo(ntpc_paths)
  File "/usr/local/lib/python3.13/site-packages/ntp/ntpc.py", line 56, in 
_dlo
    raise OSError("Can't find %s library" % LIB)
OSError: Can't find ntpc library

Comparing things with a working box, I find a link from
  /usr/local/lib/python3.13/site-packages/ntp/libntpc.so to
    /usr/local/lib/libntpc.so
Adding that link fixes things.
[Actually, the working box was using python 3.12 but the broken one is 
using 3.13]

Was waf install supposed to install that link?
I don't remember installing it by hand.  But I could easily have forgotten.



-- 
These are my opinions.  I hate spam.





More information about the devel mailing list