mongo-rust-driver
mongo-rust-driver copied to clipboard
Mongo Rust driver built on top of the Mongo C driver
Building on Arch Linux I get this error: ``` = note: /usr/bin/ld: /home/ondra/rust/flowbox/target/debug/deps/libmongoc_sys-a203a8004de42198.rlib(mongoc-compression.c.o): in function `mongoc_uncompress': /home/ondra/rust/flowbox/target/debug/build/mongoc-sys-5ce01294740c27db/out/mongo-c-driver-1.17.5/src/libmongoc/src/mongoc/mongoc-compression.c:197: undefined reference to `ZSTD_decompress' /usr/bin/ld: /home/ondra/rust/flowbox/target/debug/build/mongoc-sys-5ce01294740c27db/out/mongo-c-driver-1.17.5/src/libmongoc/src/mongoc/mongoc-compression.c:202: undefined reference to `ZSTD_isError' /usr/bin/ld: /home/ondra/rust/flowbox/target/debug/build/mongoc-sys-5ce01294740c27db/out/mongo-c-driver-1.17.5/src/libmongoc/src/mongoc/mongoc-compression.c:206: undefined...
This is really strange # Reproduction ``` rust use bson::doc; use mongo_driver::client::{ClientPool, Uri}; fn main() { let mongo_uri = Uri::new("mongodb://127.0.0.1:27017").unwrap(); let pool = ClientPool::new(mongo_uri, None); let ping = doc! {"ping":...
to build on gentoo linux i had to make these changes (just hacks without deeper understanding) to `mongoc-sys/build.rs` ``` diff build.rs build_.rs 83c83 < println!("cargo:rustc-link-search=native={}/usr/local/lib", &out_dir.to_string_lossy()); --- > println!("cargo:rustc-link-search=native={}/usr/local/lib64", &out_dir.to_string_lossy());...
I am using a patched `mongoc-sys` which I also depend on at a different point in my program, so this might be a less common issue, but I think it...
I am very interested in your driver because it provides a way to communicate with Mongo without requiring an async framework. It also has a good base since it is...
I upgraded to a newer version of the library to get support for mongodb 6. However, it now needs libicu of a particular version, this is a problem for distribution...