[Mono-list] Problems with System.Data.OracleClient

Oetjen, Michael michael.oetjen@ecw.de
Fri, 10 Dec 2004 09:26:48 +0100


Hello,
please could you tell me how System.Data.OracleClient works on Linux 
Here my environment : 

OS : SuSE 9.0 with Mono 1.04 and Oracle Client 9.2.0.1 

For testing I used the testprogram down on /www.go-mono.com/oracle.html 
with modification for connecting my oracle database 
Compilation was succesfull 

When I run -mono test.exe- I' ve got this message 

Unhandled Exception: System.DllNotFoundException: oci 
in <0x00053> (wrapper managed-to-native) OciNativeCalls:OCIEnvCreate
(intptr&,System.Data.OracleClient.Oci.OciEnvironmentMode,intptr,intptr,i
ntptr,intptr,int,intptr)
in <0x00020> System.Data.OracleClient.Oci.OciCalls:OCIEnvCreate
(intptr&,System.Data.OracleClient.Oci.OciEnvironmentMode,intptr,intptr,i
ntptr,intptr,int,intptr)
in <0x0005d> System.Data.OracleClient.Oci.OciEnvironmentHandle:.ctor
(System.Data.OracleClient.Oci.OciEnvironmentMode) 
in <0x0003c> System.Data.OracleClient.Oci.OciGlue:CreateConnection
(System.Data.OracleClient.OracleConnectionInfo) 
in <0x0002b> System.Data.OracleClient.OracleConnection:Open () 
in <0x0004f> (wrapper remoting-invoke-with-check)
System.Data.OracleClient.OracleConnection:Open () 
in <0x0006a> Test:Main (string[]) 

Then I tried it with 

OS : SuSE 9.1 with Mono 1.04 and Oracle Client from Version 10g 

... same problems will appear :-( 


what's wrong ? ... does a file like oci.dll on linux exist ? 
please help me 

best regards 
Mike 


__________________________________________________________________
This communication contains information which may be confidential.
It is for the exclusive use of the intended recipient. If you are
not the intended recipient, please note that any distribution,
copying or use of this communication or the information in it is
prohibited. If you have received this communication in error,
please notify us by email or by telephone on +49-5362-9374-0 and
then delete the email and any copies of it.