Open MightyPork opened 2 years ago
Okay so, this worked, probably MONGOC_ENABLE_ICU
is enough, it seems to be stronger.
cmake.arg("-DMONGOC_ENABLE_ICU=OFF");
cmake.arg("-DENABLE_ICU=OFF");
I had some trouble with this as well. Is there a disadvantage to turning this off?
I tried to find what it's used for, I believe it's only needed for usernames and passwords (and maybe collection names etc.) that use non-ASCII. For me that's not needed at all. I also got away with disabling ZSTD compression in the build so it's now a little smaller and more portable.
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 as different linuxes have different icu version available.
I think this can be solved by adding ENABLE_ICU=OFF to the build script of
mongoc-sys
, i'm going to try making a local fork with that option added...