After fixing this, I had an issue while running the protoc binaries
during the test:

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_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_lite_imports_nonlite.proto google/protobuf/
unittest_no_generic_services.proto google/protobuf/compiler/cpp/
cpp_test_bad_identifiers.proto )
exec(): 0509-036 Cannot load program lt-protoc because of the
following errors:
rtld: 0712-001 Symbol
_GLOBAL__F_google_protobuf_stubs_once.cc_1FD5A050_282DAD51 was
referenced
      from module /home/pwall/protobuf-2.4.1/src/.libs/libprotoc.so(),
but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol
_GLOBAL__F__ZN6google8protobuf8internal61_GLOBAL__N_google_protobuf_extension_set.cc_00000000_F9EEC2A79registry_E_AFFDB470
was referenced
      from module /home/pwall/protobuf-2.4.1/src/.libs/libprotoc.so(),
but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol
_GLOBAL__F__ZN6google8protobuf61_GLOBAL__N_google_protobuf_descriptor.pb.cc_00000000_CECCBDD029FileDescriptorSet_descriptor_E_DBCBB372
was referenced
      from module /home/pwall/protobuf-2.4.1/src/.libs/libprotoc.so(),
but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol
_GLOBAL__I__ZN6google8protobuf61_GLOBAL__N_google_protobuf_descriptor.pb.cc_00000000_CECCBDD029FileDescriptorSet_descriptor_E
was referenced
      from module /home/pwall/protobuf-2.4.1/src/.libs/libprotoc.so(),
but a runtime definition
      of the symbol was not found.
rtld: 0712-002 fatal error: exiting.

This was fixed by making sure the "-Wl,-brtl" option came before "–
lprotobuf" while linking libprotoc.so.

After those changes, make, make install, and make check all pass.

Thanks,
-Pete

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to