libntpc.so

James Browning jamesb.fe80 at gmail.com
Mon Dec 14 21:37:29 UTC 2020


On Mon, Dec 14, 2020, 1:21 PM Hal Murray via devel <devel at ntpsec.org> wrote:

> I setup a new machine over the weekend.  Fedora 33, Python 3.9.0
>
> After a build and install, ntpq couldn't find ntp.ntpc
>

Error messages? Config logs?

I fixed things by setting up /etc/ld.so.conf.d/ntpd.conf
> containing /usr/local/lib64/ and running ldconfig.
>
> The man page for ldconfig says it knows about /lib64 and /usr/lib64,
> with no mention of local.
>
> I have a Fedora 32 box, Python 3.8.6, that works without the extra
> directive
> to ldconfig.
> I can't figure out how.
>

Snow globe is broken.

A Debian box has:
>   /etc/ld.so.conf.d/fakeroot-x86_64-linux-gnu.conf
>   /etc/ld.so.conf.d/libaes_siv.conf
>   /etc/ld.so.conf.d/libc.conf
>   /etc/ld.so.conf.d/x86_64-linux-gnu.conf
> with a couple of /usr/local/lib in there but no /usr/local/lib64
>
> I don't understand how that works either.
>
> ---------
>
> ntpq says:
>     import ntp.ntpc
>
> Should that ntp be there?   We aren't installing in xxx/ntp/ any more.


ntp.ntpc is referring to the ntpc.py file probably in something like
/usr/local/lib/python3.9/ntp

Needs more information. Is the default python is still 2.7 there?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20201214/815c76cc/attachment.htm>


More information about the devel mailing list