Comment #8 on issue 370 by ylee...@gmail.com: static initialization problem with dlopen
http://code.google.com/p/protobuf/issues/detail?id=370
using static library will not have this problem.I did. reconfigure google buffer with : configrue --disable-shared before this step ,modify configure file at 2575 and 2578 line like this: if test "x${ac_cv_env_CFLAGS_set}" = "x"; then : CFLAGS="-fPIC" fi if test "x${ac_cv_env_CXXFLAGS_set}" = "x"; then : CXXFLAGS="-fPIC" than make ,it will be ok . -- 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.