I know there are many methods to let the executed file load the customized so. such as coping the so to /lib or /usr/lib , export ld_library_path, or modify ld.so.conf.
what's the best or common method to hand the customized so for executed file to load it when deploying production app?