Fix for Python library path problem

Gary E. Miller gem at rellim.com
Wed Sep 27 21:00:41 UTC 2017


Yo Jason!

On Wed, 27 Sep 2017 16:54:56 -0400
Jason Azze via devel <devel at ntpsec.org> wrote:

> On Wed, Sep 27, 2017 at 4:19 PM, Eric S. Raymond via devel
> <devel at ntpsec.org> wrote:
> 
> > Just to be sure, though, people with access to other platforms -
> > like Red Hat and FreeBSD - should run these checks in Python
> >  
> >>>> [x for x in sys.path if x.find('/usr/lib') != -1]  
> >  
> >>>> [x for x in sys.path if x.find('/usr/lib') != -1 and
> >>>> x.replace('/usr/lib', '/usr/local/lib') == -1]  
> >
> > If the second one ever comes up non-empty we could have a problem.  
> 
> I checked CentOS 6.9 and CentOS 7.3 and, after I figured out I had to
> import sys, I can confirm that the second expression comes back empty.

Ditto for a barebones Gentoo.  Which is what I expect.  I have no
.eggs installed.

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: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170927/6cf05803/attachment.bin>


More information about the devel mailing list