-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: legacy-1.0.0-rc0
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
I cloned the `mongo-cxx-driver` repo, switched to the legacy-1.0.0-rc0 release, ran `scons` and got the following error:
```
scons: Building targets ...
Creating 'build/darwin/normal/mongo/version.h'
g++ -o build/darwin/normal/authTest -fPIC -Wl,-bind_at_load -mmacosx-version-min=10.6 build/darwin/normal/mongo/client/examples/authTest.o build/darwin/normal/libmongoclient.a -lboost_regex-mt -lboost_thread-mt -lboost_system-mt
Undefined symbols for architecture x86_64:
"boost::match_results<_gnu_cxx::normal_iterator<char const*, std::string>, std::allocator<boost::sub_match<gnu_cxx::normal_iterator<char const*, std::string> > > >::maybe_assign(boost::match_results<gnu_cxx::normal_iterator<char const*, std::string>, std::allocator<boost::sub_match<gnu_cxx::_normal_iterator<char const*, std::string> > > > const&)", referenced from:
boost::re_detail::perl_matcher<_gnu_cxx::normal_iterator<char const*, std::string>, std::allocator<boost::sub_match<gnu_cxx::_normal_iterator<char const*, std::string> > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::match_prefix() in libmongoclient.a(dbclient.o)
boost::re_detail::perl_matcher<_gnu_cxx::normal_iterator<char const*, std::string>, std::allocator<boost::sub_match<gnu_cxx::_normal_iterator<char const*, std::string> > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::match_match() in libmongoclient.a(dbclient.o)
"boost::re_detail::perl_matcher<_gnu_cxx::normal_iterator<char const*, std::string>, std::allocator<boost::sub_match<gnu_cxx::_normal_iterator<char const*, std::string> > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)", referenced from:
boost::re_detail::perl_matcher<_gnu_cxx::normal_iterator<char const*, std::string>, std::allocator<boost::sub_match<gnu_cxx::normal_iterator<char const*, std::string> > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::perl_matcher(gnu_cxx::normal_iterator<char const*, std::string>, __gnu_cxx::normal_iterator<char const*, std::string>, boost::match_results<gnu_cxx::normal_iterator<char const*, std::string>, std::allocator<boost::sub_match<gnu_cxx::normal_iterator<char const*, std::string> > > >&, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags, __gnu_cxx::_normal_iterator<char const*, std::string>) in libmongoclient.a(dbclient.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [build/darwin/normal/authTest] Error 1
scons: building terminated because of errors.
```
- related to
-
CXX-221 Target current platform rather than lowest common denominator
-
- Closed
-