a guest May 20th, 2012 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Xcode 4.2 mySQL connection architecture fail
  2. ld: warning: ignoring file /usr/local/mysql/lib/libmysqlclient.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
  3. Undefined symbols for architecture i386:
  4.   "_mysql_init", referenced from:
  5.       -[ViewController mysql_connection] in ViewController.o
  6.   "_mysql_real_connect", referenced from:
  7.       -[ViewController mysql_connection] in ViewController.o
  8. ld: symbol(s) not found for architecture i386
  9. clang: error: linker command failed with exit code 1 (use -v to see invocation)
RAW Paste Data