Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread
Message: 63428
BY: Jorg Lueke (jlueke)
DATE: 2008-12-27 18:30
SUBJECT: RE: Installing ibm_db gem

 

Unfortunately I get the following error

make
cc -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -fPIC -fno-strict-aliasing -g -
g -O2 -fPIC -c ibm_db.c
In file included from ibm_db.c:22:
ruby_ibm_db.h:18:21: error: sqlcli1.h: No such file or directory
In file included from ibm_db.c:22:
ruby_ibm_db.h:182: error: ‘SQL_MAX_MESSAGE_LENGTH’ undeclared here (not in a fun
ction)

My envirpnment variables are as follows and the directories do have the files one would expect

linux:~/Desktop$ echo $IBM_DB_LIB
/home/db2inst1/sqllib/lib

linux:~/Desktop$ echo $IBM_DB_INCLUDE
/home/db2inst1/sqllib/include

and my level

DB21085I Instance "db2inst1" uses "64" bits and DB2 code release "SQL09050"
with level identifier "03010107".
Informational tokens are "DB2 v9.5.0.0", "s071001", "LINUXAMD6495", and Fix
Pack "0".
Product is installed at "/opt/ibm/db2exc/V9.5"





Thread View

Thread Author Date
Installing ibm_db gemPraveen Devarao2008-12-18 08:50
      RE: Installing ibm_db gemJorg Lueke2008-12-27 18:30
            RE: Installing ibm_db gemPraveen Devarao2008-12-28 04:25
                  RE: Installing ibm_db gemPraveen Devarao2008-12-28 05:17
                        RE: Installing ibm_db gemJorg Lueke2008-12-28 19:33
                              RE: Installing ibm_db gemJorg Lueke2008-12-28 19:50
                                    RE: Installing ibm_db gemPraveen Devarao2008-12-29 05:03

Post a followup to this message