rimusolem commented on issue #9780: ps-lite build problems
URL: 
https://github.com/apache/incubator-mxnet/issues/9780#issuecomment-365183471
 
 
   However, now I got a new error.
   ```
   libtool: link: g++ -Wall -Wwrite-strings -Woverloaded-virtual 
-Wno-sign-compare -fPIC -Wl,-rpath 
-Wl,/home/packagemanager/LocalPackages/mxnet-without-cuda/src/incubator-mxnet/deps/lib
 -pthread -o .libs/protoc main.o  
-L/home/packagemanager/LocalPackages/mxnet-without-cuda/src/incubator-mxnet/deps/lib
 -lprotobuf-lite 
/home/packagemanager/LocalPackages/mxnet-without-cuda/src/incubator-mxnet/deps/lib/libzmq.so
 -lpthread ./.libs/libprotobuf.so ./.libs/libprotoc.so -lz -pthread -Wl,-rpath 
-Wl,/home/packagemanager/LocalPackages/mxnet-without-cuda/src/incubator-mxnet/deps/lib
   oldpwd=`pwd` && ( cd . && $oldpwd/protoc -I. --cpp_out=$oldpwd 
google/protobuf/unittest.proto google/protobuf/unittest_empty.proto 
google/protobuf/unittest_import.proto 
google/protobuf/unittest_import_public.proto 
google/protobuf/unittest_mset.proto google/protobuf/unittest_optimize_for.proto 
google/protobuf/unittest_embed_optimize_for.proto 
google/protobuf/unittest_custom_options.proto 
google/protobuf/unittest_lite.proto google/protobuf/unittest_import_lite.proto 
google/protobuf/unittest_import_public_lite.proto 
google/protobuf/unittest_lite_imports_nonlite.proto 
google/protobuf/unittest_no_generic_services.proto 
google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto )
   [libprotobuf FATAL google/protobuf/stubs/common.cc:79] This program was 
compiled against version 2.5.0 of the Protocol Buffer runtime library, which is 
not compatible with the installed version (3.5.1).  Contact the program author 
for an update.  If you compiled the program yourself, make sure that your 
headers are from the same version of Protocol Buffers as your link-time 
library.  (Version verification failed in "google/protobuf/descriptor.pb.cc".)
   terminate called after throwing an instance of 
'google::protobuf::FatalException'
     what():  This program was compiled against version 2.5.0 of the Protocol 
Buffer runtime library, which is not compatible with the installed version 
(3.5.1).  Contact the program author for an update.  If you compiled the 
program yourself, make sure that your headers are from the same version of 
Protocol Buffers as your link-time library.  (Version verification failed in 
"google/protobuf/descriptor.pb.cc".)
   /bin/sh: line 1: 32084 Aborted                 (core dumped) ...
   ```
   In my system protobuf 3.5.1. is installed. It looks like that, at runtime, 
the unit test tries to link against the 3.5.1 version of the library rather 
than 2.5.0 version shipped with the source. Can I skip the unit test safely? If 
so, how can I skip it?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to