Installing ruby-db2-0.4 for DB2 gives SQLConnect() errors.

D

Dinesh

Hi,

I'm new to Ruby and i was trying to install the "ruby-db2-0.4" package
and i'm getting the below error. Can any one please guide me. I folled
the instructions as per the Readme. I'm using DB2 V 8.1.4. I have
installed DB2 CLI. Also i have set the path to poing to
DB2DIR=C:\Progra~1\IBM\SQLLIB, but when i run "ruby setup.rb setup" i
get the below error.

entering setup phase...
c:/ruby/bin/ruby extconf.rb
checking for SQLConnect() in db2cli.lib... no
ABORT: Could not locate DB2 libraries or headers!
Please set DB2DIR to your DB2 directory, e.g. /usr/IBMdb2/V7.1 (UNIX) or
C:/SQLL
IB (Windows)
setup failed
'system c:/ruby/bin/ruby extconf.rb' failed
try "ruby setup.rb --help" for usage

Thanks for your help
Dinesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top