I am installing Caffe on a cluster without root access. I am successfully able to run make but running make test gives me the following error:
CXX/LD -o .build_release/test/test_all.testbin src/caffe/test/test_caffe_main.cpp
.build_release/src/gtest/gtest-all.o: In function `testing::internal::RE::PartialMatch(char const*, testing::internal::RE const&)':
gtest-all.cpp:(.text+0x13c2): undefined reference to `regexecA'
.build_release/src/gtest/gtest-all.o: In function `testing::internal::RE::FullMatch(char const*, testing::internal::RE const&)':
gtest-all.cpp:(.text+0x13f2): undefined reference to `regexecA'
.build_release/src/gtest/gtest-all.o: In function `testing::internal::RE::~RE()':
gtest-all.cpp:(.text+0x141d): undefined reference to `regfreeA'
gtest-all.cpp:(.text+0x1426): undefined reference to `regfreeA'
.build_release/src/gtest/gtest-all.o: In function `testing::internal::RE::Init(char const*)':
gtest-all.cpp:(.text+0xdc0a): undefined reference to `regcompA'
gtest-all.cpp:(.text+0xdc35): undefined reference to `regcompA'
collect2: ld returned 1 exit status
make: *** [.build_release/test/test_all.testbin] Error 1