MySQL Forums
Forum List  »  Source, Builds, Binaries

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

Options: ReplyQuote


Subject
Views
Written By
Posted
Running MYSQL++ on OS X in Xcode
12448
October 26, 2005 11:06AM
6455
November 02, 2005 04:54AM
5524
November 14, 2005 02:50AM
4325
February 25, 2006 06:35AM
3984
September 19, 2006 10:23AM
4142
September 25, 2006 03:51AM
46491
November 17, 2006 07:57PM
7723
January 22, 2009 06:22AM
4727
January 25, 2009 03:56PM
4426
April 24, 2009 12:12PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.