diff --git a/README-CN.md b/README-CN.md index 4ace609b38022432643719d0a2f9ca8155646bb5..b86e2d83b5d1e45d3b07796418116ed8d4e6f33a 100644 --- a/README-CN.md +++ b/README-CN.md @@ -121,7 +121,7 @@ sudo dnf install -y maven 为了在 CentOS 上构建 [taosTools](https://github.com/taosdata/taos-tools) 需要安装如下依赖软件 ```bash -sudo yum install zlib-devel xz-devel snappy-devel jansson-devel pkgconfig libatomic libstdc++-static +sudo yum install zlib-devel xz-devel snappy-devel jansson jansson-devel pkgconfig libatomic libstdc++-static ``` 注意:由于 snappy 缺乏 pkg-config 支持 diff --git a/README.md b/README.md index 82702ae91f1637c9721f8b47cdc6f67d44a8dda3..204dc98725fbf37b96d1273036b8bb8dc3716fb4 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ sudo dnf install -y maven To build the [taosTools](https://github.com/taosdata/taos-tools) on CentOS, the following packages need to be installed. ```bash -sudo yum install zlib-devel xz-devel snappy-devel jansson-devel pkgconfig libatomic libstdc++-static +sudo yum install zlib-devel xz-devel snappy-devel jansson jansson-devel pkgconfig libatomic libstdc++-static ``` Note: Since snappy lacks pkg-config support (refer to [link](https://github.com/google/snappy/pull/86)), it lead a cmake prompt libsnappy not found. But snappy will works well.