


But it didn't actually connect to the database.
ODBC MANAGER MISSING ON MAC MAC OS
At least, I managed to get it to build and link by adding -lmysqld to the list for gcc (and various other arguments specific to my installation).ĭid it work? How should I know - it built, after many hours of work, and I was able to add it using Mac OS ODBC administrator.

The instructions given have you doing gcc by hand! What's with the make file?Īnyway, they don't quite work work for 5.1.9, there are missing refs. Or you can use autoreconf, but you still have to do aclocal and automake -add-missing and "glibtoolize" (at least, it sort of worked for me, maybe it should be "libtoolize"?). This doesn't come with a configure script - you have to generate one using autoconf. So, I would rather download and build the newer 5.1.x (5.1.9 currently). But the instructions for building this are clearly for a rather ancient version of libmyodbc3-3.51, and when I follow them (or try to), it turns out that my Xcode install is too NEW for me to build. Unhelpfully, this doesn't actually tell you where you can get this version, and in fact the answer seems to be (from a lot of Google searches): NOWHERE. The instructions tell me that I can download a binary version of the connector as a tarball: I have been trying for hours and hours to install MySQL ODBC connector on Mac OS 10.7 Lion
