这些是我的错误消息:
/usr/bin/ld: cannot find -lidn
/usr/bin/ld: cannot find -lrtmp
/usr/bin/ld: cannot find -lnettle
/usr/bin/ld: cannot find -lgnutls
/usr/bin/ld: cannot find -lgssapi_krb5
/usr/bin/ld: cannot find -lkrb5
/usr/bin/ld: cannot find -lk5crypto
/usr/bin/ld: cannot find -lcom_err
/usr/bin/ld: cannot find -llber
/usr/bin/ld: cannot find -lldap
collect2: error: ld returned 1 exit status
Makefile:52: recipe for target 'stratum' failed
我在里面没有找到任何这些库/usr/lib
,这意味着我需要下载一些库吗?
链接器无法找到这些库。如果您已经安装了这些库,那么只需-L<path to the library>
输入您的编译命令即可。
如果您还没有安装这些库,请使用以下命令安装它们
sudo apt-get install libidn
sudo apt-get install librtmp
sudo apt-get install lib<your library name>
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句