Re: Oracle Adapter on Mac OS X?

Scott Hill
Thu, 24 Mar 2005 01:56:53 -0000

I did end up getting it to work. It was dying because of a bus error.
When I reinstalled ruby from source, I was able to get it to work.
Thanks for the help.

--Scott


On Wed, 23 Mar 2005 13:56:59 +0100, Ollivier Robert
<roberto-0kjVc+YyuDZX+h8frlqCcVAUjnlXr6A1@public.gmane.org>
wrote:
> According to Scott Hill:
> > I had previously gotten Maik Schmidt''s patch for Oracle
working, but
> > now am trying the official Oracle adapter with the latest Rails.
I''ve
> > been trying to get the OCI8 connector to install under OS X, but get
> > the following error. Has anyone gotten it working?
>
> Yes by following the README which says to type "make".
Don''t forget to
> define ORACLE_HOME before.  Which version of the Oracle client are you
> using BTW?
>
> ruby setup.rb config
> ---> lib
> ---> lib/DBD
> ---> lib/DBD/OCI8
> <--- lib/DBD/OCI8
> <--- lib/DBD
> <--- lib
> ---> ext
> ---> ext/oci8
> /opt/local/bin/ruby
> /Volumes/Users/roberto/Build/ruby-oci8-0.1.9/ext/oci8/extconf.rb
> checking for gcc... yes
> Get the version of Oracle from SQL*Plus... 1010
> ...
> cc -dynamic -bundle -undefined suppress -flat_namespace
-L"/opt/local/lib"
> -o oci8lib.bundle oci8.o handle.o const.o env.o error.o svcctx.o server.o
> session.o stmt.o define.o bind.o describe.o descriptor.o param.o lob.o
> oradate.o oranumber.o attr.o  -lruby  -L/Users/Oracle/product/10g/lib/
> -L/Users/Oracle/product/10g/rdbms/lib/  -lclntsh -ldl -lpoll -lm -lpthread
> -L/Users/Oracle/product/10g/lib -lm -ldl -lobjc
> <--- ext/oci8
> <--- ext
> --
> Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=-
roberto-0kjVc+YyuDZX+h8frlqCcVAUjnlXr6A1@public.gmane.org
> Darwin snuadh.freenix.org Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST
2004
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


--

--Scott