LZ4_LIBS Not Found (CentOS7, MariaDB 10.1.29) - Solved

I can compile all other versions of the 10.1 branch without issue, but since Mroonga was updated in 10.1.29, CMake complains that the LZ4 libraries are not found under CentOS7 64-bit. After a bit of testing, I determined that you must have LZ4 1.7.5 installed, not the older version from the repo, nor the newer 1.8 branch. To fix this issue, simply do:

wget https://github.com/lz4/lz4/archive/v1.7.5.tar.gz
tar -zxvf v1.7.5.tar.gz
cd lz4-1.7.5
sudo make install

Answer Answered by DeJuan N. Onley in this comment.

A better solution would be the following:

wget https://github.com/lz4/lz4/archive/v1.7.5.tar.gz
tar -zxvf v1.7.5.tar.gz
mv lz4-1.7.5 /path-to-mariadb-source/storage/mroonga/vendor/groonga/vendor/

Then add the following option to your cmake command line:



Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.