0

我正在尝试在 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

任何帮助都会很棒!:)

谢谢!

4

0 回答 0