> sudo apt-get install libmongocrypt-dev
|
> cmake --find-package -DNAME:string=mongocrypt -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=LINK
|
|
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/mongocrypt/mongocrypt_targets.cmake:87 (message):
|
The imported target "mongo::mongocrypt" references the file
|
|
"/usr/lib/lib/libmongocrypt.so.0.0.0"
|
|
but this file does not exist. Possible reasons include:
|
|
* The file was deleted, renamed, or moved to another location.
|
|
* An install or uninstall procedure did not complete successfully.
|
|
* The installation package was faulty and contained
|
|
"/usr/lib/x86_64-linux-gnu/cmake/mongocrypt/mongocrypt_targets.cmake"
|
|
but not all the files it references.
|
|
Call Stack (most recent call first):
|
/usr/lib/x86_64-linux-gnu/cmake/mongocrypt/mongocrypt-config.cmake:1 (include)
|
/usr/share/cmake-3.5/Modules/CMakeFindPackageMode.cmake:190 (find_package)
|
|
> pkg-config libmongocrypt --cflags --libs
|
-I/usr/local/include/libbson-1.0 -I/data/mci/5223e3463426076cf112c5c6c95eb094/install/libmongocrypt/include/mongocrypt -L/data/mci/5223e3463426076cf112c5c6c95eb094/install/libmongocrypt/lib -lmongocrypt
|