Centos7上RE2的依赖性

时间:2016-01-25 10:07:39

标签: linux centos dependencies centos7 re2

我正在尝试在centos7 vm上安装re2,我在解决这些依赖项时遇到了一些麻烦:

[root@roller re2]# make testinstall
cp testinstall.cc obj
(cd obj && g++ -I/usr/local/include -L/usr/local/lib testinstall.cc -lre2 -pthread -static -o testinstall)
/usr/bin/ld: cannot find -lstdc++
/usr/bin/ld: cannot find -lm
/usr/bin/ld: cannot find -lpthread
/usr/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
make: *** [testinstall] Error 1

任何帮助都会很棒! :)

谢谢!

0 个答案:

没有答案