error while loading shared libraries: libmod2.so: cannot open shared object file: No such file or directory
One of the solution is to use
export LD_LIBRARY_PATH=PATH_TO_LIBRARY_LIBMOD2
1. You check the path of libmod2.so
2. Replace in place of PATH_TO_LIBRARY_LIBMOD2
Note: Don't add the filename. It just needs the path.