set LD_LIBRARY_PATH environment variable to the path containing your .so files before executing the application
LD_LIBRARY_PATH