I have experience with C++ but LZMA is beyond me. I would like if some can share or explain a simple source code with lzma compression library embedded. Basically, in my program i have a chunck of memory that i want to compress before i write it to file.
If LZMA compression library come with exposed API, you just need to write your program to interface with the library.
Sometimes the programming language matters too. For C/C++, most likely .h followed by some .so or .a For Java it comes with a .jar For XXX programming language it comes with YYY etc
So usually for interfacing with libraries or even full-fledged software, we developers are keen to know that software API is in which programming language.
Side topic:
Long long time ago, CORBA try to solve this different programming language problem but the sheer complexity in real world implementation bring it's down-fall. I don't know if organizations are still embracing CORBA-aware applications. If they are, most likely are done during those times and now maintaining it. I don't see any new project initiatives proposing using CORBA.