Attempting to install ruby-odbc gem on Debian/Ubuntu results in the following error;
"ERROR: sql.h not found"
This happens on OSX too so brew to the rescue:
brew install unixodbc
Install the unixodbc-dev package, then try the gem install again
sudo apt-get install unixodbc-dev
gem install ruby-odbc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With