Showing posts with label oracle. Show all posts
Showing posts with label oracle. Show all posts

Wednesday, October 24, 2012

Installing Oracle Instant Client on Ubuntu

The Oracle gem for Rails is ruby-oci8.

To run Radar against Oracle on Ubuntu, you need 'instant client' installed. Directions for this are here.

Radar is currently (as of 10/12) running ruby-oci8 2.0.6 gem. Hence, when installing on Ubuntu, you will run across the following in error log.

  Do you install glibc-devel(redhat) or libc6-dev(debian)?
  You need /usr/include/sys/types.h to compile ruby-oci8.
 
The fix is:

$ sudo ln -s /usr/include/linux/ /usr/include/sys
 
This is described here.