Running MYSQL++ on OS X in Xcode
Posted by:
Jon Cheung
Date: October 26, 2005 11:06AM
Hi,
I've been trying to get the sample mysql++ program, resetdb.cpp, to work for the past couple days with no luck.
I installed mysql just fine, I'm sure that works.
I linked to the the mysql++ and mysql lib and include folders, but then got zerolink errors when I tried to run it.
Then I added libmysqlpp.2.0.6.dylib to my project, but now I just this error:
dyld: lazy symbol binding failed: Symbol not found: _mysql_init
Referenced from: /usr/local/mysql++/lib/libmysqlpp.2.dylib
Expected in: flat namespace
dyld: Symbol not found: _mysql_init
Referenced from: /usr/local/mysql++/lib/libmysqlpp.2.dylib
Expected in: flat namespace
The program compiles fine, but I get that error when I try to run it.
I know I missed something, just can't figure out what.
Thanks in advance,
Jonathan