[AMD Official Use Only - General]

Hi,

I am building MariaDB from source code and have queries on linking of 
compression algorithm.

Query:

  1.  Can I stop building zlib algorithm? which is building by default, even 
after passing different plugin like LZ4, snappy etc.,. Any argument in cmake 
that can be passed to stop compiling ZLIB algorithm.



  1.  Getting below error when linking 3rd party LZ4 library: In the below 
scenario build compilation is successfully. When trying to run below command to 
populate data folder to start server, it is throwing error.

I have tried loading LD_LIBRARY_PATH, even that also produce the same result.



#sudo ./scripts/mariadb-install-db --srcdir=/home/mariadb-10.11.3  
--plugin-dir=/home/mariadb-10.11.3/maria_bin/lib/plugin --user=mysql



2023-08-02 17:56:58 0 [ERROR] mariadbd: Can't open shared library 
'/home/mariadb-10.11.3/maria_bin/lib/plugin/provider_lz4.so' (errno: 2, 
liblz4.so: cannot open shared object file: No such file or directory)

2023-08-02 17:56:58 0 [ERROR] Couldn't load plugins from 'provider_lz4.so'.

Kindly help on above query.

Thanks
Rahul Raj
_______________________________________________
discuss mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to