protobuf link error when run test on Macos
Created by: dzhwinter
build with the lastest develop branch run test will report me protobuf link error. I can't run any test case. Error message e.g.
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 29
Start 29: test_ActivationGrad
29: Test command: /Users/dzh/github/PaddleDevelop/Paddle/build/paddle/gserver/tests/test_ActivationGrad
29: Test timeout computed to be: 9.99988e+06
29: dyld: Symbol not found: __ZNK6google8protobuf7Message13SpaceUsedLongEv
29: Referenced from: /Users/dzh/github/PaddleDevelop/Paddle/build/paddle/gserver/tests/test_ActivationGrad
29: Expected in: flat namespace
29: in /Users/dzh/github/PaddleDevelop/Paddle/build/paddle/gserver/tests/test_ActivationGrad
1/1 Test #29: test_ActivationGrad ..............***Exception: Other 0.01 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 0.02 sec
The following tests FAILED:
29 - test_ActivationGrad (OTHER_FAULT)
Errors while running CTest
paddle use the thrid_party protobuf.
-- Found Paddle host system: macosx
-- Found Paddle host system's CPU: 4 cores
-- Protobuf protoc executable: /usr/local/bin/protoc
-- Protobuf library: /Users/dzh/github/PaddleDevelop/Paddle/third_party/install/protobuf/lib/libprotobuf.a
-- Protobuf version: 3.3
-- BLAS library: /Users/dzh/github/PaddleDevelop/Paddle/third_party/install/openblas/lib/libopenblas.a
-- Ccache is founded, use ccache to speed up compile.
-- Paddle version is 0.10.0
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/dzh/github/PaddleDevelop/Paddle/build