Error 1 ERROR: `make' failed when installing sqlsrv

I had the following error on Ubuntu 18.04 when installing

/tmp/pear/temp/sqlsrv/shared/xplat.h:30:10: fatal error: sql.h: No such file or directory #include <sql.h>

Installing the package unixodbc-dev as Matthew Goheen proposed solved the issue

sudo apt-get install unixodbc-dev

I had this exact error.

/tmp/pear/temp/sqlsrv/shared/xplat.h:30:17: fatal error: sql.h: No such file or directory
 #include <sql.h>

Apparently the header file its looking for is only in the package unixODBC-devel.

I installed that package and was able to successfully complete the build. yum install unixODBC-devel.

Possibly, a better explanation is here. stackoverflow Question # 15447386