Em 18-03-2014 14:49, Pol Vangheluwe escreveu: > 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?
I cannot understand how they got installed at root. Have just checked in my (B)LFS-74, and they are under /lib/. Please, check the instructions you are using to install libcap. Perhaps you could do a DESTDIR first. Or try to see if BLFS-7.5 or svn would work for ntp and libcap, in your system. You can always try a DESTDIR, first, just to be sure. -- []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page