-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
I'm trying to build the driver as described in documentation, basically:
curl -kOL https://github.com/mongodb/mongo-c-driver/releases/download/1.17.6/mongo-c-driver-1.17.6.tar.gz
{{ tar xfvz mongo-c-driver-1.17.6.tar.gz}}
{{ cd mongo-c-driver-1.17.6}}
{{ mkdir cmake-build}}
{{ cd cmake-build}}
{{ cmake -DENABLE_AUTOMATIC_INIT_AND_CLEANUP=OFF ..}}
{{ make}}
However I get this error in the cmake step:
...mongo-c-driver-1.17.6/src/libbson/src/libbson-1.0.pc.in
mongo-c-driver-1.17.6/src/libbson/src/CMakeLists.txt
mongo-c-driver-1.17.6/src/libbson/src/libbson-static-1.0.pc.in
mongo-c-driver-1.17.6/src/libbson/src/jsonsl/
mongo-c-driver-1.17.6/src/libbson/src/jsonsl/CMakeLists.txt
mongo-c-driver-1.17.6/src/libbson/src/jsonsl/jsonsl.h
mongo-c-driver-1.17.6/src/libbson/src/jsonsl/jsonsl.c
cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd
It seems this has started to fail since I changed in my system from cmake 3.11.4 to cmake 3.18.2.
I have tested with driver versions 1.17.4 and 1.17.6 and the problem is the same.
Is there any restriction in the cmake version that has to be used to build the driver? Is there any way to solve this problem?
Thanks!