Bugs: Browse | Submit New | Admin

[#1693] mswin32 version complains of missing OCI.DLL

Date:
2005-03-28 15:52
Priority:
3
Submitted By:
Nobody
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
mswin32 version complains of missing OCI.DLL

Detailed description
I'm using the oci8 library for mswin32. I installed it with the special installer and version here on rubyforge. I'm
actually using the library through Rails.

When rails is loading the oci8 library, my ruby installation complains about a missing OCI.DLL. This dll wasn't generated
by the oci8 installer, and from what I can tell isn't actually needed, as I've used the library and adapter without
problems before.

The dialog indicating the problem only showed when using Apache 1.3.x (Apache 2.0 failed, but didn't give me any indication
why, I'm assuming the same reason) with FastCGI. When I ran with normal cgi, the problem never "appeared"
- so it may have existed but I got no dialog about it.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2006-01-20 13:43
Sender: Laurence Cuche

Ok, i got it... after 3 days playing around...
The answer is on this page:
http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache
2-on-windows

It worked for me, hope it will for you as well...
Date: 2006-01-20 09:32
Sender: Laurence Cuche

Same thing for me...

My applic also connect to a remote Oracle DB.

The whole applic works fine (but slow) with WEBbrick and normal
CGI. But as soon as i want to user FastCGI, then i get this
"OCI.DLL not found" from a Ruby.exe pop-up.

I think my PATH  are set right, because i can get sqlplus.exe
to connect to my OracleDB over DOS...

I also tried to copy the oci.dll to my ruby/bin directory: the
oci popup error don't appear any more i get an Error "Rails
application failed to start properly" and rails crashes...


Date: 2006-01-05 14:05
Sender: Nobody

I'm also getting this error on mswin32 but it is not letting
me run ruby at all. for example, the rails command exits with
an error and doesn't create any sort of project.

I'm trying to connect to a remote Oracle database.
Date: 2005-08-21 14:36
Sender: Kubo Takehiro

Does sqlplus.exe run on DOS prompt?
If it works, PATH is set to %ORACLE_HOME%\bin correctly.
The last way is copy OCI.DLL to the ruby.exe directory.
Date: 2005-08-19 22:55
Sender: Nobody

Kubo,
I had the same problem. A ruby.exe popup comes up with that message
indincating that it cannot find the oci.dll.
I saw your posting and I added to my system variable path 
%ORACLE_HOME%\bin 
but that didn't work.
Then I tried
c:\oracle\ora92\bin
and it still didn't work.

Altought is not important I would like to know how to fix it.
Date: 2005-04-17 14:45
Sender: Kubo Takehiro

Logged In: YES 
user_id=854

OCI.DLL is installed by Oracle Universal Installer or Oracle
Instant Client.
Set the environment variable PATH to %ORACLE_HOME%\bin or to
the directory where Oracle Instant Client was installed.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item