My company's System-admin installed Ruby and Gems (using Sun Coolstack
package) and I have sudo access to ruby, gem etc. Now I need to get my
app to talk to oracle db (through network).
From what I understand, it requires three steps:
Step 1: Install oracle instant client ( I installed it in my ~/oracle/
Step2: Install OCI8 libraries (this is where I am stuck). Here is the
bash-3.00$ sudo gem install ruby-oci8
Building native extensions. This could take a while...
ERROR: Error installing ruby-oci8:
ERROR: Failed to build gem native extension.
checking for load library path...
LD_LIBRARY_PATH_32 is not set.
LD_LIBRARY_PATH is not set.
checking for cc... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
./oraconf.rb:557:in `check_cc': RuntimeError (RuntimeError)
from ./oraconf.rb:544:in `init'
from ./oraconf.rb:674:in `initialize'
from ./oraconf.rb:345:in `new'
from ./oraconf.rb:345:in `get'