| Message: 56118 |
 |
BY: Chris Evans (cevans111) DATE: 2008-05-19 12:17 SUBJECT: RE: Error connecting When I try to build using v9fp4a_sunos_db2driver_for_odbc_cli, I get the following error in my mkmf.log:
ld: fatal: file /export/home/csevans/db29/lib/libdb2.so: wrong ELF class: ELFCLASS64
I also tried using v9fp4a_sunos_db2driver_for_odbc_cli_32 and I get these errors:
ERROR: Error installing ibm_db:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb install ibm_db
checking for SQLConnect() in -ldb2... yes
creating Makefile
make
gcc -I. -I. -I/usr/local/lib/ruby/1.8/sparc-solaris2.10 -I. -I/export/home/csevans/clidriver/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/local/pgsql/include -I/usr/local/include/ncurses -I/usr/local/BerkeleyDB.4.2/include -I/usr/openwin/include -I/usr/local/rrdtool-1.2.19/include -fPIC -O2 -L/usr/local/pgsql/lib -R/usr/local/pgsql/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/openwin/lib -R/usr/openwin/lib -I/usr/local/rrdtool-1.2.19/include -c ibm_db.c
In file included from ibm_db.c:20:
ruby_ibm_db.h:18:21: sqlcli1.h: No such file or directory
In file included from ibm_db.c:20:
ruby_ibm_db.h:155: error: `SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function)
ruby_ibm_db.h:155: error: `SQL_SQLSTATE_SIZE' undeclared here (not in a function)
ibm_db.c:28: error: syntax error before "handle"
ibm_db.c:37: error: syntax error before "SQLSMALLINT"
ibm_db.c:37: warning: no semicolon at end of struct or union
ibm_db.c:38: warning: data definition has no type or storage class
.....(snipped - this goes on for hundreds of lines)
Chris
| |