mySQL libs and an apology...
mySQL libs and an apology...
- Subject: mySQL libs and an apology...
- From: Michael Davey <email@hidden>
- Date: Tue, 24 Nov 2009 12:15:48 +1100
First off, sorry to those who I have offended by asking the question of whether or not I can share my libs legally to this list. It was not my intention to do that.
What I end up distributing with my application is still being considered, and I hope to resolve that before I approach my clients with my application - as far as I have seen (from router companies at least) is that only the work that is open source needs to be shared and not your entire application.
Anyway, that is OT, and I will leave that there as a matter for myself.
What I do want to share is this, the 4 architecture mysql client libraries that really should be distributed with the downloaded binaries:
http://www.4shared.com/file/157776724/f48387d3/libmysqlclient_r16.html
To comply with the licence I also supply the source tarball:
http://www.4shared.com/file/158401438/b943a20e/mysql-5141tar.html
However, to create the library itself I merely downloaded the 4 binary distributions for each of the architectures from this page:
http://dev.mysql.com/downloads/mysql/5.1.html
I then extracted the tarballs into one folder and used the following lipo command to create the universal binary:
lipo mysql-5.1.40-osx10.5-powerpc/lib/libmysqlclient_r.16.dylib mysql-5.1.40-osx10.5-powerpc-64bit/lib/libmysqlclient_r.16.dylib mysql-5.1.41-osx10.5-x86_64/lib/libmysqlclient_r.16.dylib mysql-5.1.41-osx10.5-x86l/lib/libmysqlclient_r.16.dylib -create -output libmysqlclient_r.16.dylib
It was discussed that the PPC64 architecture is a waste of space as it is not widely used, so if you wish you could probably make this again yourself and skip that part entirely.
As you can also see, I have only made the thread-safe versions of the library, I need that myself and am guyessing that is most usefulk to the list as well, however, you could follow the same procedure yourselves to make the normal version of the libraries.
Again, sorry for the OT part of my discussion, I hope that the libraries I have supplied are of use to someone...
Mikey_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden