This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git
The following commit(s) were added to refs/heads/main by this push:
new 1db6a68 add Q&A for cpp 0.14.1.1-old-glibc-SNAPSHOT (#305)
1db6a68 is described below
commit 1db6a686d25262563f9d1ee65346073259d79805
Author: CritasWang <[email protected]>
AuthorDate: Tue Aug 6 15:07:29 2024 +0800
add Q&A for cpp 0.14.1.1-old-glibc-SNAPSHOT (#305)
---
src/UserGuide/Master/API/Programming-Cpp-Native-API.md | 1 +
src/UserGuide/latest/API/Programming-Cpp-Native-API.md | 1 +
src/zh/UserGuide/Master/API/Programming-Cpp-Native-API.md | 1 +
src/zh/UserGuide/latest/API/Programming-Cpp-Native-API.md | 1 +
4 files changed, 4 insertions(+)
diff --git a/src/UserGuide/Master/API/Programming-Cpp-Native-API.md
b/src/UserGuide/Master/API/Programming-Cpp-Native-API.md
index 022fbdd..637d6a4 100644
--- a/src/UserGuide/Master/API/Programming-Cpp-Native-API.md
+++ b/src/UserGuide/Master/API/Programming-Cpp-Native-API.md
@@ -146,6 +146,7 @@ Q: What are the requirements for the environment on Linux?
A:
- Recommend `glibc-2.33` or above version. In some scenarios, it is known that
`glibc-2.31` cannot be compiled successfully. Please refer to [document](
https://www.gnu.org/software/gnulib/manual/html_node/_005f_005flibc_005fsingle_005fthreaded.html
).
- Recommend `gcc 10` or above.
+- You can also modify the`<iotdb-tools-thrift.version>`in the `pom.xml` file
to `0.14.1.1-old-glibc-SNAPSHOT`, which is a thrift compiled using the old
version `glibc`.
Q:How to deal with compile error`undefined reference to '_libc_sinle_thread'`?
diff --git a/src/UserGuide/latest/API/Programming-Cpp-Native-API.md
b/src/UserGuide/latest/API/Programming-Cpp-Native-API.md
index 022fbdd..637d6a4 100644
--- a/src/UserGuide/latest/API/Programming-Cpp-Native-API.md
+++ b/src/UserGuide/latest/API/Programming-Cpp-Native-API.md
@@ -146,6 +146,7 @@ Q: What are the requirements for the environment on Linux?
A:
- Recommend `glibc-2.33` or above version. In some scenarios, it is known that
`glibc-2.31` cannot be compiled successfully. Please refer to [document](
https://www.gnu.org/software/gnulib/manual/html_node/_005f_005flibc_005fsingle_005fthreaded.html
).
- Recommend `gcc 10` or above.
+- You can also modify the`<iotdb-tools-thrift.version>`in the `pom.xml` file
to `0.14.1.1-old-glibc-SNAPSHOT`, which is a thrift compiled using the old
version `glibc`.
Q:How to deal with compile error`undefined reference to '_libc_sinle_thread'`?
diff --git a/src/zh/UserGuide/Master/API/Programming-Cpp-Native-API.md
b/src/zh/UserGuide/Master/API/Programming-Cpp-Native-API.md
index 972a4fd..e189726 100644
--- a/src/zh/UserGuide/Master/API/Programming-Cpp-Native-API.md
+++ b/src/zh/UserGuide/Master/API/Programming-Cpp-Native-API.md
@@ -139,6 +139,7 @@ Q:Linux 上的环境有哪些要求呢?
A:
- 推荐 `glibc-2.33` 或以上版本,部分场景下已知 `glibc-2.31`
无法编译成功,参考[文档](https://www.gnu.org/software/gnulib/manual/html_node/_005f_005flibc_005fsingle_005fthreaded.html)。
- 推荐 `gcc 10` 以上版本。
+-
也可以修改`pom.xml`文件中的`<iotdb-tools-thrift.version>`,将其更改为`0.14.1.1-old-glibc-SNAPSHOT`,这是一个使用旧版本`glibc`编译的`thrift`。
Q:编译报错`undefined reference to '_libc_sinle_thread'`如何处理?
diff --git a/src/zh/UserGuide/latest/API/Programming-Cpp-Native-API.md
b/src/zh/UserGuide/latest/API/Programming-Cpp-Native-API.md
index 09270c6..8afc8c3 100644
--- a/src/zh/UserGuide/latest/API/Programming-Cpp-Native-API.md
+++ b/src/zh/UserGuide/latest/API/Programming-Cpp-Native-API.md
@@ -139,6 +139,7 @@ Q:Linux 上的环境有哪些要求呢?
A:
- 推荐 `glibc-2.33` 或以上版本,部分场景下已知 `glibc-2.31`
无法编译成功,参考[文档](https://www.gnu.org/software/gnulib/manual/html_node/_005f_005flibc_005fsingle_005fthreaded.html)。
- 推荐 `gcc 10` 以上版本。
+-
也可以修改`pom.xml`文件中的`<iotdb-tools-thrift.version>`,将其更改为`0.14.1.1-old-glibc-SNAPSHOT`,这是一个使用旧版本`glibc`编译的`thrift`。
Q:编译报错`undefined reference to '_libc_sinle_thread'`如何处理?