Created
April 28, 2011 11:50
-
-
Save frfonseca/946201 to your computer and use it in GitHub Desktop.
gem_make.out output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/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: | |
--with-opt-dir | |
--without-opt-dir | |
--with-opt-include | |
--without-opt-include=${opt-dir}/include | |
--with-opt-lib | |
--without-opt-lib=${opt-dir}/lib | |
--with-make-prog | |
--without-make-prog | |
--srcdir=. | |
--curdir | |
--ruby=/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/bin/ruby | |
--with-IBM_DB-dir | |
--with-IBM_DB-include | |
--without-IBM_DB-include=${IBM_DB-dir}/include | |
--with-IBM_DB-lib | |
--without-IBM_DB-lib=${IBM_DB-dir}/lib | |
--with-db2lib | |
--without-db2lib | |
--with-db2lib | |
--without-db2lib | |
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