Centos下Make报错cannot find -lpthre

2018-06-20  本文已影响0人  SilentDawn

Centos下直接在meltdown目录下make报错

/bin/ld: cannot find -lpthread
/bin/ld: cannot find -lc

解决方法:
sudo yum install glibc-static
原因:
Makefile中声明使用静态库 -static,但centos默认未安装静态库,因此需安装

上一篇 下一篇

猜你喜欢

热点阅读