# OCI.dll was not found error

**URL:** <https://www.ruby-forum.com/t/oci-dll-was-not-found-error/110584>\
**Category:** Ruby\
**Created:** [July 27, 2007, 8:08pm UTC](https://www.ruby-forum.com/t/oci-dll-was-not-found-error/110584 "2007-07-27T20:08:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maung](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ac91a4/32.png) [@maung](https://www.ruby-forum.com/u/maung)\
**Post date:** [July 27, 2007, 8:08pm UTC](https://www.ruby-forum.com/t/oci-dll-was-not-found-error/110584/1 "2007-07-27T20:08:58Z")

</div>

Hi all,

While I was trying to run a ruby file, I got the following error message  
box:  
ruby.exe - unable to locate component  
This application has failed to start because oci.dll was not found.  
Re-installing the application may fix this problem.

I have installed oci8 correctly and have tried uninstalled and  
re-installed ruby and oci8 many times, but it didn’t solve the problem.  
I also found oci.dll file in my oracle directory C:\oracle\ora92\bin.  
Where and what am I missing? Could someone help me out?

Thanks,  
maung

---

<div class="post-metadata">

**Author:** ![maung](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ac91a4/32.png) [@maung](https://www.ruby-forum.com/u/maung)\
**Post date:** [July 28, 2007, 10:39pm UTC](https://www.ruby-forum.com/t/oci-dll-was-not-found-error/110584/2 "2007-07-28T22:39:42Z")

</div>

Hi Maung,

I’m not a ruby expert  
but this problem doesn’t look like a ruby error.  
All I can suggest make sure the directory where oci.dll resides is in  
the path.

Hope it helps  
Yusuf

Maung A. wrote:

> Hi all,
> 
> While I was trying to run a ruby file, I got the following error message  
> box:  
> ruby.exe - unable to locate component  
> This application has failed to start because oci.dll was not found.  
> Re-installing the application may fix this problem.
> 
> I have installed oci8 correctly and have tried uninstalled and  
> re-installed ruby and oci8 many times, but it didn’t solve the problem.  
> I also found oci.dll file in my oracle directory C:\oracle\ora92\bin.  
> Where and what am I missing? Could someone help me out?
> 
> Thanks,  
> maung
