libntpc.so

Hal Murray hmurray at megapathdsl.net
Tue Dec 15 00:11:22 UTC 2020


James said:
> Error messages? Config logs?

from ntpq:

Traceback (most recent call last):
  File "/usr/local/bin/ntpq", line 26, in <module>
    import ntp.ntpc
  File "/usr/local/lib64/python3.9/site-packages/ntp/ntpc.py", line 52, in 
<module>
    _ntpc = _importado()
  File "/usr/local/lib64/python3.9/site-packages/ntp/ntpc.py", line 38, in 
_importado
    return _dlo(ntpc_paths)
  File "/usr/local/lib64/python3.9/site-packages/ntp/ntpc.py", line 49, in _dlo
    raise OSError("Can't find %s library" % LIB)
OSError: Can't find ntpc library

from instll:
+ symlink /usr/local/lib64/libntpc.so.1 (to libntpc.so.1.1.0)
+ install /usr/local/lib64/libntpc.so.1.1.0 (from sam/main/pylib/libntpc.so)
+ symlink /usr/local/lib64/libntpc.so (to libntpc.so.1.1.0)

-------

/etc/ld.so.conf says:
include ld.so.conf.d/*.conf

/etc/ld.so.conf.d/ was empty

--------

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

Yup.  Thanks.  Actually, it's:
  /usr/local/lib64/python3.9/site-packages/ntp

> Needs more information. Is the default python is still 2.7 there? 

/usr/bin/python gets me to Python 3.9.0
it comes from python-unversioned-command-3.9.0-1.fc33.noarch

I think that is the new/current default python.
(I don't remember doing anything that would have changed it.)


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list