libntpc.so

Gary E. Miller gem at rellim.com
Tue Dec 15 02:12:21 UTC 2020


Yo Hal!

On Mon, 14 Dec 2020 17:10:43 -0800
Hal Murray via devel <devel at ntpsec.org> wrote:

> rlaager at wiktel.com said:
> > Debian doesn't use the "lib64" style naming. It has the traditional
> >  "lib" and then uses what it calls "multiarch", so you have things
> > like  /usr/lib/ x86_64-linux-gnu (and /usr/local versions too).  
> 
> > I'm getting /usr/local/lib by default from waf, which is listed in
> > /etc/ ld.so.conf.d/libc.conf. So that's how that works.   
> 
> I'm still confused.

Why should you be different than anyone else?  :-)

> On debian 10 (buster)
> 
> waf configure said:
>   LIBDIR                        :  /usr/local/lib64 
>   PYTHONDIR                     :
> /usr/local/lib/python2.7/dist-packages PYTHONARCHDIR
> :  /usr/local/lib/python2.7/dist-packages

Odd, I woulda thought the python module should be in site-packages, not
dist-packages.

dist-packages is for things from packages.
site-tpackages is for things you install from source.


But so few distros follow Python's advice.  As long as everything
matches and works.

> locate libntpc.so says (skipping stuff in my directory):
> /usr/local/lib64/libntpc.so
> /usr/local/lib64/libntpc.so.1
> /usr/local/lib64/libntpc.so.1.1.0

Seems correct to me.  libntpc.so is in your LIBDIR.

> There is no lib64 in /etc/ld.so.conf.d/*

Most of what ldconfig does is add these links:

/usr/local/lib64/libntpc.so.1
/usr/local/lib64/libntpc.so.1.1.0

To the main lib:

/usr/local/lib64/libntpc.so.1.1.0

Maybe waf already did what ldconfig does.  It know scons can.  gpsd
install creates the links so you do not need to run ldconfig.

Even distros like Gentoo can't decide between lib, lib32 and lib64.
So epect randomness.

> But it works.
> 
> Similar on Fedora 32.

So, no problems?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20201214/cda9ae51/attachment.bin>


More information about the devel mailing list