[AMD Official Use Only - General]

Hi,

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

Before building the source code of MariaDB, I am exporting the path for SNAPPY 
or LZMA or the algorithm which is currently it supports.

Then I build the code with - cmake -B . -DCMAKE_INSTALL_PREFIX=$PWD/maria_bin  
-DPLUGIN_MROONGA=NO -DPLUGIN_ROCKSDB=NO
cmake --build . -j
cmake -install .

It compiled the code and installed in the specified location.

When I checked the lib/plugin folder it has generated, provider_lzma.so or 
provider_snappy.so files and when I did ldd on that .so file, it has given the 
path from where it is fetching the liblzma.so.1 or libsnappy.so.1 file.

Query:

  1.  The path which ldd shows for provider_lzma.so or provider_snappy.so is 
taking form default path, and it is not from the path which I am exporting the 
library and bin path - could you please explain me the correct steps.
  2.  Is there any way or any Flag we can set to switch between different 
compression method during build time itself, and in which log we can check it 
has linked properly.
  3.  How to benchmark the linked compression method and how we can see it is 
using the linked compression method from the custom path of .so files.

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