Connecting Tech Pros Worldwide Forums | Help | Site Map

Building programs using CodeWarrior and mysql libs

Desmond L
Guest
 
Posts: n/a
#1: Jul 20 '05
I'm tring to use CodeWarrior 9 to build a Mach-O target application
on Mac OS X that uses the embedded mysql server library
(libmysqld.a). I'm using the library that comes from
standard Mac OS X binary distribution (the .dmg package).
I can add libmysqld.a to the CodeWarrior project but when
linking, there're lots of undefined symbols referenced from
libmysqld.a. I assume it also needs the equivalent of
-lz and -lm to be added to CodeWarrior (that's what
mysql_config --embedded shows). Does anyone know how
these dependencies should be added? Has anyone done it
successfully before? Or know whether it is even theorectically
possible?

This actually doesn't just apply to embedded library, any
CodeWarrior app that wants to link with the mysql client libs
will also face the same problem.

Any help appreciated,
Thanks,

Des

Closed Thread


Similar MySQL Database bytes