I need help building mongo c driver.
I’m following all the steps from the installation link.
And I have successfully configured the build.
– Build files have been written to: /home/administrator/Projects/c or c++/mongo-c-driver/mongo-c-driver/cmake-build
But when i’m trying to executing the build, I’m always stuck with this error (whether it is executing a build from tarball or git).
[ 37%] Building C object src/libmongoc/CMakeFiles/mongoc_shared.dir/__/kms-message/src/sort.c.o
[ 38%] Linking C shared library libmongoc-1.0.so
cc: error: or: No such file or directory
cc: error: c++/mongo-c-driver/mongo-c-driver/src/libmongoc/…/…/build/cmake/libmongoc-hidden-symbols.map: No such file or directory
src/libmongoc/CMakeFiles/mongoc_shared.dir/build.make:3012: recipe for target ‘src/libmongoc/libmongoc-1.0.so.0.0.0’ failed
make: *** [src/libmongoc/libmongoc-1.0.so.0.0.0] Error 1
CMakeFiles/Makefile2:1266: recipe for target ‘src/libmongoc/CMakeFiles/mongoc_shared.dir/all’ failed
make: *** [src/libmongoc/CMakeFiles/mongoc_shared.dir/all] Error 2
Makefile:151: recipe for target ‘all’ failed
make: *** [all] Error 2
Thanks and Regards,