Re: Running MYSQL++ on OS X in Xcode
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.
Subject
Views
Written By
Posted
12443
October 26, 2005 11:06AM
6448
November 02, 2005 04:54AM
5668
November 13, 2005 08:20PM
5519
November 14, 2005 02:50AM
Re: Running MYSQL++ on OS X in Xcode
4949
November 14, 2005 07:13AM
5032
November 15, 2005 01:31PM
4318
February 25, 2006 06:35AM
4894
April 13, 2006 02:07PM
3979
September 19, 2006 10:23AM
4138
September 25, 2006 03:51AM
46407
November 17, 2006 07:57PM
7717
January 22, 2009 06:22AM
4724
January 25, 2009 03:56PM
4420
April 24, 2009 12:12PM
6440
April 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.