Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.0.0, 4.0.1
-
None
-
None
-
1
-
SDK26: KV,ES8, Known Issues
Description
The Python SDK currently tries to statically link the c++ runtime. Apparently that is not something supported on RHEL8 (reference here and here):
Static Linking with the C/C++ Runtime
- Static linking with the C/C++ runtime is not supported. This includes linking with any files that are part of the glibc-static or libstdc++-static packages. You may choose to link statically, but the resulting application binaries may fail to operate if any package in the installation is changed.
If we do not set COUCHBASE_CXX_CLIENT_STATIC_STDLIB to ON we can successfully build on a RHEL 8 system. So, lets allows COUCHBASE_CXX_CLIENT_STATIC_STDLIB to be set to OFF in order to skip statically linking with stdc++ libs. Note, currently this only impacts linux systems (specifically RHEL). See couchbase++ CMakeLists.
Attachments
Issue Links
- relates to
-
DOC-10115 Centos/ RHEL 8 Python SDK Quick Install steps does not work for SDK 4
- Resolved