MySQL Forums
Forum List  »  Source, Builds, Binaries

Re: Running MYSQL++ on OS X in Xcode
Posted by: Alexander Gingerich
Date: November 14, 2005 07:13AM

I used the following extra linker flags:


-lmysqlpp -lmysqlclient -L/usr/local/mysql/lib

I've tried using them in this order as well

-lmysqlclient -L/usr/local/mysql/lib -lmysqlpp


mysql_congif --libs reveals this:


Nanashi:/usr/local/mysql/bin alexandergingerich$ ./mysql_config --libs
-L/usr/local/mysql/lib -lmysqlclient -lz -lm


My current additional linker flags setting:


-L/usr/local/mysql/lib -lmysqlclient -lz -lm -lmysqlpp

Resulting Error...still:

dyld: lazy symbol binding failed: Symbol not found: _mysql_init
Referenced from: /usr/local/lib/libmysqlpp.2.dylib
Expected in: flat namespace

dyld: Symbol not found: _mysql_init
Referenced from: /usr/local/lib/libmysqlpp.2.dylib
Expected in: flat namespace


Edit: I'm compiling an application, not mysql++. I previously posted the mysql++ warning because I figured that it may come back to haunt me when I go to use mysql++, and it seems I may be right.



Edited 4 time(s). Last edit at 11/14/2005 10:14AM by Alexander Gingerich.

Options: ReplyQuote


Subject
Views
Written By
Posted
12447
October 26, 2005 11:06AM
6454
November 02, 2005 04:54AM
5524
November 14, 2005 02:50AM
Re: Running MYSQL++ on OS X in Xcode
4957
November 14, 2005 07:13AM
4325
February 25, 2006 06:35AM
3983
September 19, 2006 10:23AM
4142
September 25, 2006 03:51AM
46485
November 17, 2006 07:57PM
7723
January 22, 2009 06:22AM
4726
January 25, 2009 03:56PM
4425
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.