List:MySQL++« Previous MessageNext Message »
From:Joe Hudson Date:April 10 2007 4:18am
Subject:linking mysql++
View as plain text  
Hi!

This is my first post on this list. hello!

I'm trying to use mysql++ and run the example programs.
I'm running OS X 10.4 using Eclipse 3.2. the link error I get is :

/usr/bin/ld: can't locate file for: -llibmysqlpp.dylib

(or if I change the order of the libbraries to link:
/usr/bin/ld: can't locate file for: -llibmysqlclient.dylib )

The call to g++ looks like:
g++ -L/usr/local/lib -L/usr/local/mysql-standard-5.0.37/lib/mysql -o
"Wendy"  ./dbaccess/dbaccess.o   -llibmysqlclient.dylib -llibmysqlpp.dylib

The libraries do exist in  /usr/local/mysql-standard-5.0.37/lib/mysql
and   /usr/local/lib

so I don't know what the problem is and would really love some help with
this if possible! any clues?

thanks,
joe


-- 
LIVE MUSIC + OTHER PERFORMANCE ART CHARITY FUNDRAISER
Doors 6.30pm - 1st act 7:30pm,  2nd SUNDAY of EVERY month
@ THE TALKING HEADS, PORTSWOOD Rd, SOUTHAMPTON
£4 entrance: all profits to 3 Local Charities. inc:
SCRATCH and HAMPSHIRE AUTISTIC SOCIETY
-----------------------------------------------------------------------------------------------

Apr 8th, May 13th...

Contact joe.hudson@stripped for more info.
-------------------------------------------------------
---------------------------------------
Visit http://www.myspace.com/littlecog  for latest details, to post new
events or volunteer for future community action events.

Thread
linking mysql++Joe Hudson10 Apr
  • Re: linking mysql++Jonathan Wakely10 Apr