I am trying to link mysql to my project for limited client access. I installed mysql vie macports and added the libmysqlclient.a file to xcode, and it compiles and runs fine on my machine. I then take the program to any other computer (mac obviously) and it just quits immediately. Running from the command line it points out that it can not link to libmysqlclient.dylib. How can I compile my program so that the library is included in the executable? (or less desirable, linked to a copy of the library in my bundle). Note: I am compiling with release settings.