Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
gem_make.out output
/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb --with-IBM_DB-dir=/home/canaclub/clidriver
creating gil_release_version
creating unicode_support_version
checking for SQLConnect() in -ldb2... no
checking for SQLConnect() in -ldb2... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
extconf failure: Unable to locate DB2 libraries.
Follow the steps below and retry
Step 1: - Install IBM DB2 Universal Database Server/Client
step 2: - Set the environment variables IBM_DB_INCLUDE and IBM_DB_LIB as below
(assuming bash shell)
export IBM_DB_INCLUDE=DB2HOME/include (eg. /home/db2inst1/sqllib/include or /opt/ibm/db2/v9.5/include)
export IBM_DB_LIB=DB2HOME/lib (eg. /home/db2inst1/sqllib/lib or /opt/ibm/db2/V9.5/lib32)
step 3: - Retry gem install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment