[CDRIVER-3939] ENABLE_ICU=OFF does not prevent libmongoc from linking Created: 29/Mar/21 Updated: 20/May/21 Resolved: 20/May/21 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Clyde Bazile III (Inactive) | Assignee: | Roberto Sanchez |
| Resolution: | Cannot Reproduce | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Testing locally, ENABLE_ICU=OFF (as specified in our docs here) results in linking errors. For example, the error: /usr/bin/ld: /mongo-c-driver/src/libmongoc/src/mongoc/mongoc-scram.c:1065: undefined reference to `u_strFromUTF8_67'. However, MONGOC_ENABLE_ICU=OFF compiles without issue but for some users (see We should investigate why the options above do not prevent libicu from linking. |
| Comments |
| Comment by Roberto Sanchez [ 20/May/21 ] |
|
I have validated that the ENABLE_ICU flag correctly functions for both ON and OFF values. The failure does not occur for any combination of flags I can come up with. |