ntpq broken on NetBSD 6.1.5

Eric S. Raymond esr at thyrsus.com
Thu Nov 24 22:59:52 UTC 2016


Hal Murray <hmurray at megapathdsl.net>:
> It works on 7.0.2
> 
> 
> NetBSD 6.1.5 (GENERIC)
> 
> -bash-4.3$ ntpq -p
> ntpq: can't find Python NTP library -- check PYTHONPATH.
> Shared object "libpython2.7.so.1.0" not found
> -bash-4.3$ 
> 
> It's not a PYTHONPATH problem.  That's coming from ntpc.so
> 
> -bash-4.3$ ldd /usr/local/lib/python2.7/site-packages/ntp/ntpc.so
> /usr/local/lib/python2.7/site-packages/ntp/ntpc.so:
>         -lpython2.7.1.0 => not found
>         -lutil.7 => /usr/lib/libutil.so.7
>         -lgcc_s.1 => /lib/libgcc_s.so.1
>         -lc.12 => /usr/lib/libc.so.12
>         -lm.0 => /usr/lib/libm.so.0
>         -lrt.1 => /usr/lib/librt.so.1
>         -lpthread.1 => /usr/lib/libpthread.so.1
> -bash-4.3$ 
> 
> The pre-install version is the same and has the same problem:
> 
> -bash-4.3$ cd ntpq
> -bash-4.3$ ntpq
> ntpq: can't find Python NTP library -- check PYTHONPATH.
> Shared object "libpython2.7.so.1.0" not found
> -bash-4.3$ 
> 
> No complaints from the linker:
> [ 62/162] Compiling libntp/timetoa.c
> [ 63/162] Linking bob/main/libntp/ntpc.so
> [ 64/162] Compiling libsodium/sodium/core.c
> 
> I poked around a bit but but didn't get far enough to figure out why that 
> library is needed or find the waf code the puts in the -lpython2.7

I think this just means the Python dev tools aren't installed on that system.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>


More information about the devel mailing list