tangtang5156 commented on issue #2266: URL: https://github.com/apache/brpc/issues/2266#issuecomment-1568345642
> https://github.com/apache/brpc/blob/master/src/bthread/mutex.cpp#L818 注释掉这两个函数试试 您好,我已注释掉这两个函数,如图:  清空build目录后,重新执行cmake -DBUILD_SHARED_LIBS=1 -DBUILD_STATIC_LIBS=1 -B build && cmake --build build -j6 编译出了新的libbrpc.so & libbrpc.a,将其拷贝到系统目录后重新执行可执行文件,仍然报错: symbol lookup error: /usr/local/lib/libbrpc.so: undefined symbol: pthread_mutex_lock  辛苦再帮忙看下,非常感谢! -- 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: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org