usually deployment is done with a script.
That script can update LD_LIBRARY_PATH with the path to which it will copy your libs.
Goole for 'export' command.