xiaoma20082008 commented on issue #390:
URL:
https://github.com/apache/rocketmq-client-cpp/issues/390#issuecomment-1167099513
几乎同样的问题!!
## OS
```
Darwin M-C02G5B0CML7H 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26
21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 x86_64
```
## Clang
```
Apple clang version 13.1.6 (clang-1316.0.21.2.5)
Target: x86_64-apple-darwin21.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
```
## Versions
- [x] boost_1_79_0
- [x] libevent-2.1.11-stable
- [x] jsoncpp-0.10.7
- [x] openssl_1_1_1d
## Error
```
Undefined symbols for architecture x86_64:
"boost::filesystem::detail::create_directory(boost::filesystem::path
const&, boost::system::error_code*)", referenced from:
rocketmq::MQClientAPIImpl::fetchNameServerAddr(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&) in
MQClientAPIImpl.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [../bin/librocketmq.dylib] Error 1
make[1]: *** [project/CMakeFiles/rocketmq_shared.dir/all] Error 2
make: *** [all] Error 2
build error.....
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]