I compiled a c program which uses openssl, when I tried to run the executable file on other machine, I got some error:
error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
This may be caused by the old version of openssl on the machine where I run the executable file. It is complicated if I should install the right version of openssl where I run the program.
How to get rid of this dependence?