Lib\mongoc-1.0.lib files not generated when installing C driver

I am trying to install the MongoDB C Driver. I followed the instructions from the following tutorial:
http://mongoc.org/libmongoc/current/installing.html

I have tried building from tarball, and from git, and both times, i get the same outcome.

Header files are generated my /usr/local/include/ folder
but no library files are generated in my /usr/local/lib/ folder

insead i get the following .so files in my lib folder.

At this stage im completely stuck as to what is wrong.
Is somebody able to provide me with some advise on how to debug this, and what to look for,
or what i might be missing.

the only thing i can see is during the cmake command i get the following not found results:
Looking for reallocf - not found
Looking for strlcpy - not found

No package ‘libzstd’ found
Looking for res_ndestroy - not found
Searching for compression library header snappy-c.h
– Not found (specify -DCMAKE_INCLUDE_PATH=/path/to/snappy/include for Snappy compression)

but the command finished with the output:
build files have been written to :// so it looks like the command finished successfull.

Any help would be greatly appreciated

Hi @arif_saeed!

The “not found” messages are informational. After installation, the output should include the paths to the installed files. E.g. the output of make install should include at the end lines like:

Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/local/share/mongo-c-driver/COPYING
-- Installing: /usr/local/share/mongo-c-driver/NEWS
-- Installing: /usr/local/share/mongo-c-driver/README.rst
-- Installing: /usr/local/share/mongo-c-driver/THIRD_PARTY_NOTICES
-- Installing: /usr/local/lib/libbson-1.0.so.0.0.0
-- Installing: /usr/local/lib/libbson-1.0.so.0
-- Installing: /usr/local/lib/libbson-1.0.so
...

The C driver determines install paths using cmake’s GNU install directories module. So if you are on a Debian system, library files may be installed to /usr/local/lib64.