Re: [cx-oracle-users] OCI.DLL cannot be found ?
Brought to you by:
atuining
From: Marcos P. <ma...@bu...> - 2004-09-24 16:30:17
|
I believe Visual Studio includes (included) an utility called depends.exe which did this. El vie, 24-09-2004 a las 18:09, Anthony Tuininga escribi=F3: > What version of Oracle are you using? If you are using 9.0.1 then you=20 > should be using the 8i version (which will work just fine with an Oracle=20 > 9i client on Windows). 9.0.1 does not have the features that I took=20 > advantage of in the 9i version -- those all got added in 9.2. >=20 > BTW, I believe that SQL*Plus uses oci.dll just as much as cx_Oracle=20 > does. As for searching for DLLs, that is done using the standard Windows=20 > method: search the current directory, the directory in which the=20 > executable is found and the path, etc. Unfortunately, I don't believe=20 > there is anything equivalent to the Unix ldd command that displays what=20 > shared libraries will be loaded by a particular program. >=20 > Hope this helps. >=20 > Philip SION wrote: > > Hello ! > >=20 > > I got the "standard" errormessage under WinXP : > >=20 > > >>> import cx_Oracle > > Traceback (most recent call last): > > File "<pyshell#6>", line 1, in ? > > import cx_Oracle > > ImportError: DLL load failed: La proc=E9dure sp=E9cifi=E9e est introuva= ble.=20 > > (the specified procedure cannot be found). > >=20 > > As I get the same message even if I wipe out all oci.dll from c:\, I=20 > > guess the errormessage does'nt mean "the is a problem with one entry=20 > > point in the dll" but rather "I cannot find the (oci.)dll". > >=20 > > I use latest cx_oracle 4.1 beta1 for 9.0i (installed with the installer= =20 > > for python 2.3) > > Oracle 9.0i client is installed. oci.dll is in c:\oracle\ora9i\bin.=20 > > SQLPlus is working fine. > >=20 > > Here's my path : > >=20 > > PATH=3Dc:\oracle\ora9i\bin;C:\Program=20 > > Files\Oracle\jre\1.1.8\bin;c:\oracle\ora81\bin;C:\Program=20 > > Files\Oracle\jre\1.1.7\bin;C:\WINNT\System32;C:\WINNT;C:\WINNT\System32= \Wbem;c:\Prgfile\Orawin\bin;C:\PROGRA~1\CA\SHARED~1\SCANEN~1;C:\PROGRA~1\CA= \ETRUST~1;C:\Program=20 > > Files\Visio2002\Visio10;c:\gs\gs8.14\bin\;C:\PROGRA~1\ULTRAEDT;Z:.; > >=20 > > And I even set : > >=20 > > ORACLE_HOME=3Dc:\oracle\ora9i\ > >=20 > > How does cx_oracle.pyd look for oci.dll ? How to solve this problem ? > >=20 > > Thanks a lot for any hint ! > >=20 > > Philip. > >=20 > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > > Project Admins to receive an Apple iPod Mini FREE for your judgement on > > who ports your project to Linux PPC the best. Sponsored by IBM. > > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > > _______________________________________________ > > cx-oracle-users mailing list > > cx-...@li... > > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users |