Skip navigation links

MySQL Forums :: Source, Builds, Binaries :: Running MYSQL++ on OS X in Xcode


Advanced Search

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
Running MYSQL++ on OS X in Xcode 10802 Jon Cheung 10/26/2005 11:06AM
Re: Running MYSQL++ on OS X in Xcode 5734 John Zandbergen 11/02/2005 04:54AM
Re: Running MYSQL++ on OS X in Xcode 4904 Alexander Gingerich 11/13/2005 08:20PM
Re: Running MYSQL++ on OS X in Xcode 4681 John Zandbergen 11/14/2005 02:50AM
Re: Running MYSQL++ on OS X in Xcode 4276 Alexander Gingerich 11/14/2005 07:13AM
Re: Running MYSQL++ on OS X in Xcode 4124 Alexander Gingerich 11/15/2005 01:31PM
Re: Running MYSQL++ on OS X in Xcode 3630 Hans Stolz 02/25/2006 06:35AM
Re: Running MYSQL++ on OS X in Xcode 3819 Rasa Karapandza 04/13/2006 02:07PM
Re: Running MYSQL++ on OS X in Xcode 3306 Michael de Vries 09/19/2006 10:23AM
Re: Running MYSQL++ on OS X in Xcode 3396 Lars Lindbom 09/25/2006 03:51AM
MySQL C API and XCode Settings 34587 Gregg Green 11/17/2006 07:57PM
Re: MySQL C API and XCode Settings 6739 01/22/2009 06:22AM
Re: MySQL C API and XCode Settings 3938 Kent Boortz 01/25/2009 03:56PM
Re: MySQL C API and XCode Settings 3618 Mike Naylor 04/24/2009 12:12PM
Re: MySQL C API and XCode Settings 5304 Daniel Fischer 04/25/2009 01:09AM


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.