MySQL Forums
Forum List  »  Source, Builds, Binaries

How to properly build Connector/ODBC 5.1 on Snow Leopard
Posted by: Chad Phillips
Date: January 08, 2010 11:33AM

System: OS X 10.6.2 (x86, 64-bit)

Trying to build Connector/ODBC 5.1.6 from source with the goal of updating the myodbc-unixodbc package in Fink.

I can build a working libmyodbc5.so from the source code (using the unixODBC and MySQL supplied w/ Fink) with:
autoreconf -fi
./configure --prefix=/sw --enable-gui=no --enable-shared=yes --enable-static=yes --with-pic --with-unixODBC=/sw --with-mysql-path=/sw
make
sudo make install

The sticking point is that I would prefer a .dylib and not an .so for the final Fink package, and I can't figure out how to do it.

The documentation at http://dev.mysql.com/doc/refman/5.0/en/connector-odbc-installation-source-unix.html#connector-odbc-installation-source-unix-macosx states "On Mac OS X, --enable-shared builds .dylib files by default.", but I'm already using that configure switch, and I'm still getting .so files.

Is there another switch or some adjustment I can make to get this working?

Options: ReplyQuote


Subject
Views
Written By
Posted
How to properly build Connector/ODBC 5.1 on Snow Leopard
4064
January 08, 2010 11:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.