'Mongod and mongo command not working in termux

I'm getting this error

CANNOT LINK EXECUTABLE "mongod": library "libicudata.so.69" not found



Solution 1:[1]

The issue with this stems from the fact that the current version of libicu is 70 as opposed to 69. According to this comment you can try to compile the old version and that should help. Personally I've tried that and it was still unusable due to segfaults, so YMMV

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 greysdawn