Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244405 - ntp requires libcap.so.1, but it's not a dependancy
Summary: ntp requires libcap.so.1, but it's not a dependancy
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-26 02:27 UTC by Brian Davis
Modified: 2008-10-26 02:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Davis 2008-10-26 02:27:39 UTC
Could be my hardened system, but ntpdate/ntpd won't run, complaining about the inability to find libcap.so.1:

#ntpdate -q pool.ntp.org
ntpdate: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory


Reproducible: Always

Steps to Reproduce:
1. ntpdate pool.ntp.org
2.
3.

Actual Results:  
ntpdate: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory


Expected Results:  
#ntpdate pool.ntp.org
25 Oct 22:26:41 ntpdate[16500]: step time server 66.250.45.2 offset -744.204275 sec

libcap.2.11 is installed:

# ls -lt libcap.so*
lrwxrwxrwx 1 root root    11 Oct 18 23:37 libcap.so -> libcap.so.2
lrwxrwxrwx 1 root root    14 Oct 18 23:37 libcap.so.2 -> libcap.so.2.11
-rwxr-xr-x 1 root root 17636 Oct 18 23:37 libcap.so.2.11


and ln -s libcap.so libcap.so.1 fixes the problem. The ntp ebuild, however should be upgraded to use version 2 of the libcap library, or create this link for the user.
Comment 1 SpanKY gentoo-dev 2008-10-26 02:37:21 UTC
ntp does have a DEPEND on libcap.  you need to re-emerge it since the SONAME changed.