Gary said:
>> 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:
Nope. Those are setup by waf install.
> Maybe waf already did what ldconfig does. It know scons can.
Richard said:
> If we really want to do something to make that work out of the box, then I'd
> make the Python code search for the library in a fixed location (either
> instead of or in addition to the current behavior) and subst in LIBDIR. That
> way, the solution is application-local. Instal
On 12/14/20 8:14 PM, Hal Murray via devel wrote:
I think we should install such a file containing LIBDIR
on systems where/etc/ld.so.conf.d/ is a directory.
No, please don't, for many reasons. If you attempt this, you're going to
encounter a lot of pain points as you try to deal with exception
Yo Hal!
On Mon, 14 Dec 2020 18:14:24 -0800
Hal Murray via devel wrote:
> Gary said:
> > I'm not on Debian. I'm on Gentoo. Not the same.
>
> Are you using LD_LIBRARY_PATH.?
Nope. Gentoo defaults include /usr/local/lib*. So no need to
add them to LD_LIBARAY_PATH.
> > We should only be pr
Gary said:
> I'm not on Debian. I'm on Gentoo. Not the same.
Are you using LD_LIBRARY_PATH.?
> We should only be programming to the POSIX man pages. So we get some
> portability.
We have to do something when POSIX doesn't cover a topic.
The man page for Gentoo look very similar to the on
Yo Hal!
On Mon, 14 Dec 2020 16:47:37 -0800
Hal Murray via devel wrote:
> Gary said:
> >> I don't see any lib64 in /etc/ld.so.conf.d/*.conf
> > So add it as James thought was already being done.
>
> This area seems complicated enough that I doubt I fully understand it.
Since most distros do
Yo Hal!
On Mon, 14 Dec 2020 17:10:43 -0800
Hal Murray via devel wrote:
> rlaa...@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 ve
rlaa...@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
Gary said:
>> I don't see any lib64 in /etc/ld.so.conf.d/*.conf
> So add it as James thought was already being done.
This area seems complicated enough that I doubt I fully understand it.
I was trying to verify that was the right fix and/or understand why it isn't
needed on earlier Fedora or Deb
Yo Hal!
On Mon, 14 Dec 2020 16:22:14 -0800
Hal Murray via devel wrote:
> Gary said:
> >> I fixed things by setting up /etc/ld.so.conf.d/ntpd.conf
> [That quote is actually from me rather than James]
Yes.
> > That is not a standard location for config files. On Gentoo that
> > does nothing u
Gary said:
>> I fixed things by setting up /etc/ld.so.conf.d/ntpd.conf
[That quote is actually from me rather than James]
> That is not a standard location for config files. On Gentoo that does
> nothing until you also do:
> env-update
> . /etc/profile
I think you are working
Yo Hal!
On Mon, 14 Dec 2020 16:18:15 -0800
Hal Murray via devel wrote:
> libntpc.so is in:
> /usr/local/lib64/libntpc.so
>
> I don't see any lib64 in /etc/ld.so.conf.d/*.conf
So add it as James thought was already being done.
RGDS
GARY
-
Gary said:
[Debian]
>> I don't understand how that works either.
> Look in /etc/ld.so.conf and etc/ld.so.conf. JJust different defaults.
/etc/ld.so.conf says:
include /etc/ld.so.conf.d/*.conf
cat /etc/ld.so.conf.d/*.conf
/usr/lib/x86_64-linux-gnu/libfakeroot
/usr/local/lib/
# libc default con
James said:
> Error messages? Config logs?
from ntpq:
Traceback (most recent call last):
File "/usr/local/bin/ntpq", line 26, in
import ntp.ntpc
File "/usr/local/lib64/python3.9/site-packages/ntp/ntpc.py", line 52, in
_ntpc = _importado()
File "/usr/local/lib64/python3.9/site-pac
On 12/14/20 3:21 PM, Hal Murray via devel 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
I fixed things by setting up /etc/ld.so.conf.d/ntpd.conf
containing /usr/local/lib64/ and running ldconfig.
Yeah, that's app
Yo James!
On Mon, 14 Dec 2020 13:37:29 -0800
James Browning via devel wrote:
> I fixed things by setting up /etc/ld.so.conf.d/ntpd.conf
That is not a standard location for config files. On Gentoo that
does nothing until you also do:
env-update
. /etc/profile
The ". /etc/profil
Yo Hal!
On Mon, 14 Dec 2020 13:21:22 -0800
Hal Murray via devel 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 menti
On Mon, Dec 14, 2020, 1:21 PM Hal Murray via devel 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
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
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,
19 matches
Mail list logo