On Wed, Sep 16, 2009 at 3:05 PM, catel1 <[email protected]> wrote:
>
> 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/
> instantclient_11_1)
> Step2: Install OCI8 libraries (this is where I am stuck). Here is the
> error message:
> ***********ERROR MESSAGE***************
>
> bash-3.00$ sudo gem install ruby-oci8
> Building native extensions.  This could take a while...
> checking for cc... *** extconf.rb failed ***

This is because you're missing Ruby dev libraries.

In my setup I have these set:

LD_LIBRARY_PATH=/usr/local/lib
ORACLE_HOME=/home/oracle

> C compiler doesn't work correctly.

Looks like you need a compiler too.


-- 
Greg Donald
http://destiney.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to