Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with libicu #74

Open
MightyPork opened this issue Oct 10, 2022 · 3 comments
Open

Problems with libicu #74

MightyPork opened this issue Oct 10, 2022 · 3 comments

Comments

@MightyPork
Copy link

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...

@MightyPork
Copy link
Author

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");

@thijsc
Copy link
Member

thijsc commented Oct 11, 2022

I had some trouble with this as well. Is there a disadvantage to turning this off?

@MightyPork
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants