You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by "starrysky9959 (via GitHub)" <gi...@apache.org> on 2023/04/14 07:38:51 UTC

Re: [I] 使用cmake依赖brpc编译成功,运行报undefined symbol: pthread_mutex_lock (brpc)

starrysky9959 commented on issue #1086:
URL: https://github.com/apache/brpc/issues/1086#issuecomment-1508066663

   ```bash
   ./mongodb/build/install/bin/mongod: symbol lookup error: /usr/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-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org