解决/usr/bin/ld: cannot find -lxxx错误

我在安装vsftpd时 make时  出现
/usr/bin/ld: cannot find -lcap collect2: ld returned 1 exit status
问题。查了很久。
参照 http://blog.sina.com.cn/s/blog_416bf8c201012dq5.html 大概能了解怎么回事,但是就是解决不了。
最后发现 我上面虽然报的是 /usr/bin/ld: 我连接也建到 /usr/bin/目录下 。后来我建到/usr/bin64/下 就ok了 。不过不大理解。

猜你喜欢

转载自zhx870127-hotmail-com.iteye.com/blog/1980831