Comments (6)
没有复现出来,看这的信息也看不出具体原因。用一个干净的docker容器编译一下试试。
from flare.
应该是编译第三方依赖时缺少libtool,下面的测试ok了
docker run -it debian bash # in docker apt update && apt install git python3 -y && git clone https://github.com/Tencent/flare.git # install bazel # https://bazel.build/install/ubuntu?hl=zh-cn cd flare/ bazel build ... # configure: error: --with-nghttp2 was specified but could not find libnghttp2 pkg-config file. # apt install -y autoconf libtool libnghttp2-dev # build ok
那看上去应该是缺失autotools, 编译nghttp2,jemalloc,ctemplate和gperftools都用的是configure_make
新容器里autoconf libtool libnghttp2-dev 都需要安装 libnghttp2-dev是为了pkgconfig,最后应该还是链接的flare里编译出的库 libtool的问题参考下面链接 https://stackoverflow.com/questions/18978252/error-libtool-library-used-but-libtool-is-undefined
容器镜像使用GCC11(理论上GCC8以上就行)即可,如果是x86-64换成将bazel换成x86_64即可
FROM gcc:11
CMD git clone https://github.com/Tencent/flare.git && cd flare && \
wget https://github.com/bazelbuild/bazel/releases/download/6.3.2/bazel-6.3.2-linux-arm64 && \
chmod +x bazel-6.3.2-linux-arm64 && \
./bazel-6.3.2-linux-arm64 build ...
from flare.
bazel 6.3.2
from flare.
应该是编译第三方依赖时缺少libtool,下面的测试ok了
docker run -it debian bash
# in docker
apt update && apt install git python3 -y && git clone https://github.com/Tencent/flare.git
# install bazel
# https://bazel.build/install/ubuntu?hl=zh-cn
cd flare/
bazel build ...
# configure: error: --with-nghttp2 was specified but could not find libnghttp2 pkg-config file.
# apt install -y autoconf libtool libnghttp2-dev
# build ok
from flare.
应该是编译第三方依赖时缺少libtool,下面的测试ok了
docker run -it debian bash # in docker apt update && apt install git python3 -y && git clone https://github.com/Tencent/flare.git # install bazel # https://bazel.build/install/ubuntu?hl=zh-cn cd flare/ bazel build ... # configure: error: --with-nghttp2 was specified but could not find libnghttp2 pkg-config file. # apt install -y autoconf libtool libnghttp2-dev # build ok
那看上去应该是缺失autotools, 编译nghttp2,jemalloc,ctemplate和gperftools都用的是configure_make
from flare.
应该是编译第三方依赖时缺少libtool,下面的测试ok了
docker run -it debian bash # in docker apt update && apt install git python3 -y && git clone https://github.com/Tencent/flare.git # install bazel # https://bazel.build/install/ubuntu?hl=zh-cn cd flare/ bazel build ... # configure: error: --with-nghttp2 was specified but could not find libnghttp2 pkg-config file. # apt install -y autoconf libtool libnghttp2-dev # build ok
那看上去应该是缺失autotools, 编译nghttp2,jemalloc,ctemplate和gperftools都用的是configure_make
新容器里autoconf libtool libnghttp2-dev 都需要安装
libnghttp2-dev是为了pkgconfig,最后应该还是链接的flare里编译出的库
libtool的问题参考下面链接
https://stackoverflow.com/questions/18978252/error-libtool-library-used-but-libtool-is-undefined
from flare.
Related Issues (20)
- Http header data structure HOT 13
- Rpc: Http parse HOT 5
- 针对K8s容器环境是否有需要注意的优化配置呢 HOT 2
- clang-format HOT 15
- update blade HOT 9
- logging HOT 11
- if have any plan to support bazel HOT 1
- 请问有合适的源码阅读顺序吗 HOT 5
- 对GetFreeCount的取值比较困惑 HOT 5
- Does the server example in the flare example support 1 thread start? HOT 4
- clang-17 asan/tsan fiber coredump
- 关于Function类的疑问 HOT 2
- 问一个非常诡异的用例 HOT 10
- 关于调度参数的疑问 HOT 1
- 编译时间太长 HOT 4
- 调试相关 HOT 3
- Fiber scheduling takes too long HOT 3
- 为什么侵入式的链表采用的是组合而不是继承? HOT 5
- 使用`getaddrinfo`会不会更好一点 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flare.