Guest User

Untitled

a guest
May 23rd, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. pairprog@pairprog06:~$ export IBM_DB_DIR=/home/db2inst1/sqllib
  2. pairprog@pairprog06:~$ export IBM_DB_LIB=/home/db2inst1/sqllib/lib
  3.  
  4. pairprog@pairprog06:~$ sudo gem install ibm_db
  5. Building native extensions. This could take a while...
  6. ERROR: Error installing ibm_db:
  7. ERROR: Failed to build gem native extension.
  8.  
  9. /usr/bin/ruby1.8 extconf.rb install ibm_db
  10. checking for SQLConnect() in -ldb2... no
  11. *** extconf.rb failed ***
  12. Could not create Makefile due to some reason, probably lack of
  13. necessary libraries and/or headers. Check the mkmf.log file for more
  14. details. You may need configuration options.
  15.  
  16. Provided configuration options:
  17. --with-opt-dir
  18. --without-opt-dir
  19. --with-opt-include
  20. --without-opt-include=${opt-dir}/include
  21. --with-opt-lib
  22. --without-opt-lib=${opt-dir}/lib
  23. --with-make-prog
  24. --without-make-prog
  25. --srcdir=.
  26. --curdir
  27. --ruby=/usr/bin/ruby1.8
  28. --with-IBM_DB-dir
  29. --without-IBM_DB-dir
  30. --with-IBM_DB-include
  31. --without-IBM_DB-include=${IBM_DB-dir}/include
  32. --with-IBM_DB-lib
  33. --without-IBM_DB-lib=${IBM_DB-dir}/lib
  34. --with-db2lib
  35. --without-db2lib
  36. --with-db2lib
  37. --without-db2lib
  38. /usr/lib/ruby/1.8/mkmf.rb:623:in `find_library': private method `split' called for nil:NilClass (NoMethodError)
  39. from /usr/lib/ruby/1.8/mkmf.rb:623:in `collect'
  40. from /usr/lib/ruby/1.8/mkmf.rb:623:in `find_library'
  41. from extconf.rb:23
  42.  
  43.  
  44. Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/ibm_db-1.0.0 for inspection.
  45. Results logged to /usr/lib/ruby/gems/1.8/gems/ibm_db-1.0.0/ext/gem_make.out
Add Comment
Please, Sign In to add comment