Qihoo360 / QConf

Qihoo Distributed Configuration Management System
Other
1.87k stars 534 forks source link

使用go_qconf在osx上go build报错 #91

Closed jseanj closed 6 years ago

jseanj commented 6 years ago
Undefined symbols for architecture x86_64:
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare(unsigned long, unsigned long, char const*, unsigned long) const", referenced from:
LRU::visitKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in libqconf.a(qconf_shm.cc.o)
  "std::__1::__basic_string_common<true>::__throw_length_error() const", referenced from:
      qconf_get_conf_(char const*, char*, unsigned long, char const*, int) in libqconf.a(qconf.cc.o)
      qconf_get_batch_conf_(char const*, qconf_batch_nodes*, char const*, int) in libqconf.a(qconf.cc.o)
      qconf_get_batch_keys_(char const*, string_vector_t*, char const*, int) in libqconf.a(qconf.cc.o)
      qconf_get_allhost_(char const*, string_vector_t*, char const*, int) in libqconf.a(qconf.cc.o)
...

请问是不支持osx系统吗?

gaodq commented 6 years ago

go driver是基于c++的构建的,需要先编译c++的driver