You are not logged in.
Pages: 1
When you run something like
ntpq -c peers
ntpq: error while loading shared libraries: libedit.so.0: cannot open shared object file: No such file or directory
Installing libedit fixes it of course but shouldn't it be a dependency on this???
Last edited by 89c51 (2012-12-19 14:53:59)
Offline
I think you're right. libedit isn't in base, so this dependency should be declared. Open a bug report.
Offline
The maintainer added libedid as an optional dependency so marking this solved.
Offline
Making it optional did not solve the problem.
(1/2) installing ntp [#######################################################################################] 100%
Optional dependencies for ntp
libedit: ntpdc, ntpq
root /home/glide # systemctl enable ntpd.service
root /home/glide # systemctl start ntpd
root /home/glide # ntpq
ntpq: error while loading shared libraries: libedit.so.0: cannot open shared object file: No such file or directory
root /home/glide #
oldpond = glide
Offline
The optdepend says that if you want to use ntpq and ntpdc, you need libedit. If you just want to run ntpd, you don't need it.
Offline
This is wrong IMHO: it's fine for the ntp package not to depend on libedit and have a optdepend.
But bundling broken binaries like ntpq and ntpdc is not an option, they should not be part of the 'ntp'
package in this case!
What about splitting the package in 'ntp-server' and 'ntp-client', server having no libedit, client having
libedit as dependency?
Offline
Pages: 1