[GitHub] [incubator-brpc] NetWilliam commented on issue #901: 链接 libbrpc.so 的时候出现错误, 依赖的静态库需要使用 -fPIC 方式编译

2019-09-03 Thread GitBox
NetWilliam commented on issue #901: 链接 libbrpc.so 的时候出现错误, 依赖的静态库需要使用 -fPIC 方式编译
URL: https://github.com/apache/incubator-brpc/issues/901#issuecomment-527336351
 
 
   找到原因了, 因为我的系统上装了几个版本的protobuf 这个链接链接到了老的版本, 删掉就好了


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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



[GitHub] [incubator-brpc] NetWilliam commented on issue #901: 链接 libbrpc.so 的时候出现错误, 依赖的静态库需要使用 -fPIC 方式编译

2019-08-26 Thread GitBox
NetWilliam commented on issue #901: 链接 libbrpc.so 的时候出现错误, 依赖的静态库需要使用 -fPIC 方式编译
URL: https://github.com/apache/incubator-brpc/issues/901#issuecomment-524749767
 
 
   我cmake 的版本还挺新的
   cmake version 3.15.2
   
   不晓得是不是cmake 的脚本在不同系统上有细微区别导致的. 这边是centos


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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



[GitHub] [incubator-brpc] NetWilliam commented on issue #901: 链接 libbrpc.so 的时候出现错误, 依赖的静态库需要使用 -fPIC 方式编译

2019-08-26 Thread GitBox
NetWilliam commented on issue #901: 链接 libbrpc.so 的时候出现错误, 依赖的静态库需要使用 -fPIC 方式编译
URL: https://github.com/apache/incubator-brpc/issues/901#issuecomment-524748632
 
 
   > libbrpc.so依赖libgflags.so,libleveldb.so,libprotobuf.so,你看看自己系统里有没有
   
   有的, 我调试cmake的时候发现 寻找那个package的时候总是找到的是静态库, 不知道为什么.
   cmake 这种编译方式好像有问题走不通, 用那个 config_brpc.sh 才可以跑通


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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



[GitHub] [incubator-brpc] NetWilliam commented on issue #901: 链接 libbrpc.so 的时候出现错误, 依赖的静态库需要使用 -fPIC 方式编译

2019-08-25 Thread GitBox
NetWilliam commented on issue #901: 链接 libbrpc.so 的时候出现错误, 依赖的静态库需要使用 -fPIC 方式编译
URL: https://github.com/apache/incubator-brpc/issues/901#issuecomment-524695054
 
 
   既然cmake 已经没有更新支持了, 为什么不删掉呢? 我在这个地方搞了一天...  还有bazel 什么的, 我是不敢用的.
   
   如果只支持类似autogen 的方式的编译, 建议就把命名改一下, 免得别人走歧路


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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