UnixODBC (FireDAC)

From RAD Studio
Jump to: navigation, search

Go Up to Multi-Device Development (FireDAC)


FireDAC on Mac OS X uses UnixODBC to access SQL Server, IBM DB2, SQL Anywhere, and other ODBC-based data sources. Often, the OS installation is not sufficient and UnixODBC must also be installed. This is different from Microsoft Windows, where the ODBC manager is installed as part of the OS installation.

FireDAC uses libodbc.dylib or the .so dynamic library to get access to ODBC API. Normally, it is located in the /usr/local/lib folder.

UnixODBC can be downloaded as an archive with the sources (here) (more) and saved into a folder in your home directory. To install UnixODBC on Mac OS X, use the commands:

gunzip unixODBC*.tar.gz
tar xvf unixODBC*.tar
export CFLAGS=-m32
./configure
make
sudo make install