sysadmin knowledge sharing

@hazelnoot@enby.life

Content warning: sysadmin knowledge sharing

If you get an error like this when starting a service: error while loading shared libraries: liblz4.so.1: failed to map segment from shared object, then check to make sure you haven't ended up with multiple versions of the same library installed simultaneously.

In my case, I had
liblz4.so.1.9.4 installed under /usr/lib/x86_64-linux-gnu, and liblz4.so.1.10.0 installed under /usr/local/lib. The latter path took priority so applications expecting 1.9.x got 1.10.x instead, which is apparently not backwards compatible.