To list all the dependencies needed by an executable, run the command:
otool -L /path/to/my/executable
To modify the dependencies hardcoded in the executable: http://clarkkromenaker.com/post/library-dynamic-loading-mac/