| Message: 97716 |
 |
BY: Praveen Devarao (praveend) DATE: 2012-04-05 06:14 SUBJECT: RE: Segmentation Fault loading ibm_db Ok, check this line in the dump
/usr/bin/ld: skipping incompatible /home/paul/clidriver/lib/libdb2.so when searching for -ldb2
Looks like you have installed the 64-bit version of CLI driver, while as your ruby is 32-bit version or vice-versa.
You can easily check for architecture is your ruby built by issuing the file command ob your ruby executable. Say your ruby is /home/paul/ruby/bin/ruby , issue the following command
$ file /home/paul/ruby/bin/ruby
Based on what archtecture is your ruby you will need to download the appropriate CLI driver.
Check this link for more details http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.swg.im.dbclient.ruby.doc/doc/t0052765.html
Thanks
Praveen
| |