| Message: 98155 |
 |
BY: Jason E (jgervin) DATE: 2012-07-30 15:13 SUBJECT: RE: step by step guide Here is the full error:
Building native extensions. This could take a while...
ERROR: Error installing ibm_db:
ERROR: Failed to build gem native extension.
/blah/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
Detected 64-bit Ruby
Detected usage of IBM Data Server Driver package. Ensure you have downloaded 64-bit package of IBM_Data_Server_Driver and retry the 'gem install ibm_db' command
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
--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=/blah/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
--with-IBM_DB-dir
--without-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 libdb2.so/a under /blah/work/dsdriver/odbc_cli_driver/linuxamd64/clidriver/lib
Follow the steps below and retry
Step 1: - Install IBM DB2 Universal Database Server/Client
step 2: - Set the environment variable IBM_DB_HOME as below
(assuming bash shell)
export IBM_DB_HOME=<DB2/IBM_Data_Server_Driver installation directory> #(Eg: export IBM_DB_HOME=/opt/ibm/db2/v10)
step 3: - Retry gem install
Anyone have any suggestions? | |