You can put the into the same directory as the executable or in any subfolder of your install path, e.g. a "lib" subdirectory.

Your application's start script then sets the $LD_LIBRARY_PATH variable such that this directory is part of the search path for libraries.

Something like
Qt Code:
  1. #!/bin/bash
  2. INSTALL_FULLPATH=$(readlink -f "$0")
  3. INSTALL_PATH=$(dirname "$INSTALL_FULLPATH")
  4. LIB_PATH="$INSTALL_PATH"/lib
  5. BIN_PATH="$INSTALL_PATH/bin"
  6.  
  7. export LD_LIBRARY_PATH="$LIB_PATH":$LD_LIBRARY_PATH
  8.  
  9. "$BIN_PATH"/program "$@"
To copy to clipboard, switch view to plain text mode 

Cheers,
_