Solved lzop without installation

Hello, I'd like to run lzop application without installation via ports or packages.

I have lzop binary and library file liblzo2.so.2.0.0 .
I cannot copy library to one of the system library locations.
I've never tried to run it but my assumption is to just run and system will recognize thelibrary is in the same directory as binary file?
Am I right?
 
I've found the solution. Just run ldconfig /mnt where liblzo2.so.2 library resides.
Before that I had changed file name liblzo2.so.2.0.0 to liblzo2.so.2 .

lzop works.
 
Back
Top