The
Ultimate
Business Machine

Technology, business
and innovation.

And, not least, about
the Mac.

Weblog Archive Cutedge

by: Bernard Teo






Latest Joy of Tech!

Joy of Tech ... from Geek Culture



Creative Commons License

Copyright © 2003-2012
Bernard Teo
Some Rights Reserved.

The Ultimate Business Machine - Archives

List of Categories : Commentary * Database * Singapore * Technology * Travel *

Sun 26 Feb 2012

MySQLConnector/C and NSAutoReleasePool 

Category : Technology

Finally, I can find someone else who sees the same problem as me. There's an excellent page describing how to build libmysqlclient.a from source for both iOS, iPhoneSimulator and Mac OS X. And a code example for iOS, on how to use it. 

So it's good to see a comment from someone who sees the NSAutoReleasePool problems after calling mysql_init(). I was wondering why I seem to be the only one having the problem. And I've been working on this for a long time.

I can build a usable libmysqlclient.a from the MySQL 5.5.21 source. And I'm now working out how to build a similar fat static library for iOS and Simulator.

But it'll be great to be able to build one directly from the MySQLConnector/C source, mainly because it'll not be complicated by the normal MySQL 5.5.x release cycles.

That's why we're so near, with the help from those pages I referenced above, and just a little bit too far, at this point.

Posted at 12:59PM SGT | permalink


Mac@Work
Put your Mac to Work

Sivasothi.com? Now how would you do something like that?

Weblogs. Download and start a weblog of your own.

A Mac Business Toolbox
A survey of the possibilities

A Business Scenario
How we could use Macs in businesses

VPN Enabler for Mavericks

MailServe for Mavericks

DNS Enabler for Mavericks

DNS Agent for Mavericks

WebMon for Mavericks

Luca for Mavericks

Liya for Mountain Lion & Mavericks

Postfix Enabler for Tiger and Panther

Sendmail Enabler for Jaguar

Services running on this server, a Mac Mini running Mac OS X 10.9.2 Mavericks:

  • Apache 2 Web Server
  • Postfix Mail Server
  • Dovecot IMAP Server
  • Fetchmail
  • SpamBayes Spam Filter
  • Procmail
  • BIND DNS Server
  • DNS Agent
  • WebDAV Server
  • VPN Server
  • PHP-based weblog
  • MySQL database
  • PostgreSQL database

all set up using MailServe, WebMon, DNS Enabler, DNS Agent, VPN Enabler, Liya and our SQL installers, all on Mavericks.