TousakaRin edited a comment on issue #1498:
URL: https://github.com/apache/incubator-brpc/issues/1498#issuecomment-912341967
I reproduced this problem through the image you provided,
The root cause of the problem is like this:
1. you enabled --with-glog when you run config_brpc.sh, so glog will be
linked, and the script only found a dynamic library(libglog.so), so glog will
be dynamic linked. Similarly, gflags will be linked in a static way
2. in some platform, glog is complied with gflags and link gflags in
dynamic way, but in some other platform, glog is compiled without gflags.
so, in your case, echo_server links gflags in a static way, and glogs links
gflags in a dynamic way, and then error ocurred. to solve this promble, you can:
1. remove gflags in your system and then recompile glog with source code, or
2. run config_brpc.sh without --with-glog, or
3. link gflags in a dynamic way, for example, export LINK_SO=0
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]