I made an application (an executable) calling some dylib successfully, However, the dylib files and the executable are in different directory. I added the directory contains
many ways. maybe this will help:
http://www.mikeash.com/pyblog/friday-qa-2009-11-06-linking-and-install-names.html