Here's how you can use this on Debians (Debian, Ubuntu, Kubuntu, Mint etc.):
1) apt install apt-file
2) apt install liblz4-dev
3) apt-file search liblz4.so
It will list you how your liblz4.so files are named *exactly* and where they are
In my case I have:
/usr/lib/x86_64-linux-gnu/liblz4.so.1
4) Open LZ4Lib.pas and edit const LZ4_LIB
5) Change the value of that const. In my case to 'liblz4.so.1'
6) Compile and run