Why does my ODBC driver fail to install on AIX?

It has been found that some AIX systems do not have a math library installed.

The ODBC driver is delivered as a set of objects, which are then linked into a shared object library.

It has been found that some AIX systems do not have a math library installed, which causes the link operation to fail with the message:

 ld: 0706-006 Cannot find or open library file: -l m

This is easily fixed by modifying the makefile in /usr/local/odbcdriver (you will need to be root to do this). Change to this directory and edit makefile. Find the line starting “LIB =” and delete the string “-lm” from this line.  Save the makefile, and then run “make” to build the shared library.

Back to articles