Yo Hal!

On Mon, 14 Dec 2020 13:21:22 -0800
Hal Murray via devel <devel@ntpsec.org> wrote:

> I fixed things by setting up /etc/ld.so.conf.d/ntpd.conf
> containing /usr/local/lib64/ and running ldconfig.

That's one way to do it.

> The man page for ldconfig says it knows about /lib64 and /usr/lib64,
> with no mention of local.

A common configuration.

> I have a Fedora 32 box, Python 3.8.6, that works without the extra
> directive to ldconfig.
> I can't figure out how.

Gentoo also works out of the box.  Gentoo includes /usr/local/lib, lib32/, a
and lib64/ by default.

> 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.

Look in /etc/ld.so.conf and etc/ld.so.conf.  JJust different defaults.

> ntpq says:
>     import ntp.ntpc
> 
> Should that ntp be there?   We aren't installing in xxx/ntp/ any more.

That is the Python ntp.ntpdc.py, which loads the libntpc.so using CFFI.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        g...@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpznnCggrvaY.pgp
Description: OpenPGP digital signature

_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to