Can't `liblmdb` be linked statically?
I've taken a look at the FreeBSD [port](https://www.freshports.org/net-p2p/monero-cli/) of `monero-cli` and recognized that it replaces `/usr/local/lib/liblmdb.so` with it's own library during the process of installation. Then I went a bit deeper and found the next comment: https://github.com/monero-project/monero/blob/caa62bc9ea1c5f2ffe3ffa440ad230e1de509bfd/external/db_drivers/CMakeLists.txt#L29

The full text of that comment is:
```
# We aren't even going to check the system for an installed LMDB driver, as it is too
# critical a consensus component to rely on dynamically linked libraries
```

The problem is obvious, `monero-cli` just replaces the existing library silently.

If this library is too critical, why not to link it statically? If it isn't possible for some reason, why not to place it somewhere else?

Even more, `monero-cli` never knows if this library will be replaced in the future. So if `liblmdb.so` is too critical, maybe it's still better to link it statically?

If the problem is just the lack of free time, I can do it myself and send you a pull request.