一、问题背景
编译安装ntp时间,make报错
# ldconfig --help
二、问题拓展
在Linux环境编译应用程序或lib的source code时常常会出现如下的错误信息:
/usr/bin/ld: cannot find -lxxx
三、解决办法
# yum -y install libcap-devel
# rpm -ql libcap-devel
四、参考
/usr/bin/ld: can not find -l<nameOfTheLibrary>
https://stackoverflow.com/questions/16710047/usr-bin-ld-cannot-find-lnameofthelibrary
Linker Error "cannot find -l<lib_name>"
https://community.nxp.com/thread/389071
/usr/bin/ld: cannot find -lOpenCL
https://askubuntu.com/questions/1007591/usr-bin-ld-cannot-find-lopencl
https://stackoverflow.com/questions/5329638/usr-bin-ld-cannot-find/5329671