精辟!!/usr/bin/ld: cannot find -l* 问题的解决方法

版权声明: https://blog.csdn.net/masterbee/article/details/85205956

如果编译时,有类似如下的错误提示:

/usr/bin/ld: cannot find -lpci

则可以安装相应的库,来解决这个问题:

sudo apt-get install libpci-dev

其实就是缺少*就安装*

 /usr/bin/ld: cannot find -l*

 sudo apt-get install lib*-dev

猜你喜欢

转载自blog.csdn.net/masterbee/article/details/85205956