I am building ntp-4.2.6p5, following the instructions of BLFS-7.4 on a LFS-7.2 
system.
I installed libcap2-2.22 as a required dependency but the make of ntp fails 
with:

/usr/bin/ld: cannot find -lcap

The reason seems to be that the libcap library is installed under the root 
directory:

pol@iMac400:/$ ls -l /lib*
lrwxrwxrwx 1 root root    11 18 mrt 17:36 /libcap.so -> libcap.so.2
lrwxrwxrwx 1 root root    14 18 mrt 17:36 /libcap.so.2 -> libcap.so.2.22
-rw-r--r-- 1 root root 53567 18 mrt 17:36 /libcap.so.2.22

The installation procedure for libcap is a bit special (no “config” step): is 
there somewhere a path directive missing?

pvg

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to