Specifying ODBC Driver Managers
You need to make sure that your machine uses the correct ODBC Driver manager to load the connector. To do this, set the library path environment variable.
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib