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
11572
October 26, 2005 11:06AM
5970
November 02, 2005 04:54AM
4983
November 14, 2005 02:50AM
Re: Running MYSQL++ on OS X in Xcode
4532
November 14, 2005 07:13AM
3842
February 25, 2006 06:35AM
3558
September 19, 2006 10:23AM
3638
September 25, 2006 03:51AM
39722
November 17, 2006 07:57PM
7144
January 22, 2009 06:22AM
4239
January 25, 2009 03:56PM
3925
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.