Re: [Mono-devel-list] IBM DB2 db2_36.so problem
Probably yes. But at least this exception is being thrown in the managed code part of the provider and so you can debug it and help us possibly deal with new situation. :) On 7/1/05, Pablo Cardona <[EMAIL PROTECTED]> wrote: > Thanks for your answer, I've installed DB2 Runtime Clients V8.1 and > now I have the libdb2.so library, I've made the /sbin/ldconfig and > renamed libdb2.so to libdb2_36.so to match it with the not found > error, and it seems that the cli works properly, but another exception > has come: > > Unhandled Exception: IBM.Data.DB2.DB2Exception: No error information > in <0x000a5> IBM.Data.DB2.DB2ClientUtils:DB2CheckReturn (Int16 sqlRet, > Int16 handleType, IntPtr handle, System.String message, > IBM.Data.DB2.DB2Connection connection) > in <0x00071> IBM.Data.DB2.DB2Environment:.ctor () > in <0x0004c> IBM.Data.DB2.DB2Environment:get_Instance () > in <0x8> IBM.Data.DB2.DB2ConnectionPool:FindConnectionPool > (System.String connectionString) > in <0x00015> IBM.Data.DB2.DB2ConnectionSettings:GetConnectionSettings > (System.String connectionString) > in <0x00020> IBM.Data.DB2.DB2Connection:SetConnectionString > (System.String connectionString) > in (wrapper remoting-invoke-with-check) > IBM.Data.DB2.DB2Connection:SetConnectionString (string) > in <0x00019> IBM.Data.DB2.DB2Connection:.ctor (System.String conString) > in (wrapper remoting-invoke-with-check) > IBM.Data.DB2.DB2Connection:.ctor (string) > in <0x00026> MainClass:Main (System.String[] args) > > > > Could it be because the db2 version of the remote db is 7.x and the > db2 I'm using is 8.1?? > > Thanks for the help. > > Pablo. > > On 7/1/05, Rafael Teixeira <[EMAIL PROTECTED]> wrote: > > The file you need is libdb2_36.so. Do a locate for it. > > > > For 8.1 it would be something like > > > > /opt/IBMdb2/V8.1/lib/libdb2_36.so > > > > So a > > > > /sbin/ldconfig /opt/IBMdb2/V8.1/lib > > > > would make the library loader know where to find your copy of libdb2_36.so. > > > > But I'm not sure version 8.2 is compatible with the current DB2 > > provider (I could not find definite documentation in the web but the > > library may have been renamed to libdb2.so and may not be ABI/API > > compatible). > > > > Also they've developed their own ADO.NET provider for 8.2 but it only > > installs for .NET in Windows. > > > > :) > > > > > > On 7/1/05, Pablo Cardona <[EMAIL PROTECTED]> wrote: > > > Hi, I'm trying to access to a DB2 database in a remote computer, and > > > this exceptions is thrown: > > > > > > Unhandled Exception: System.DllNotFoundException: db2_36 > > > > > > I've read in the mono-project web page that I need the library > > > db2_36.so, but I can't find this library anywhere. > > > I,ve installed IBM DB2 Personal Developer's Edition v8.2 but this > > > library is not installed, so I don't know where can I find this > > > library. > > > So does anybody know where I can get this library?? > > > > > > Thanks. > > > ___ > > > Mono-devel-list mailing list > > > Mono-devel-list@lists.ximian.com > > > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > > > > > > > > -- > > Rafael "Monoman" Teixeira > > --- > > I'm trying to become a "Rosh Gadol" before my own eyes. > > See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment. > > It hurts! > > > -- Rafael "Monoman" Teixeira --- I'm trying to become a "Rosh Gadol" before my own eyes. See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment. It hurts! ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-devel-list] IBM DB2 db2_36.so problem
Thanks for your answer, I've installed DB2 Runtime Clients V8.1 and now I have the libdb2.so library, I've made the /sbin/ldconfig and renamed libdb2.so to libdb2_36.so to match it with the not found error, and it seems that the cli works properly, but another exception has come: Unhandled Exception: IBM.Data.DB2.DB2Exception: No error information in <0x000a5> IBM.Data.DB2.DB2ClientUtils:DB2CheckReturn (Int16 sqlRet, Int16 handleType, IntPtr handle, System.String message, IBM.Data.DB2.DB2Connection connection) in <0x00071> IBM.Data.DB2.DB2Environment:.ctor () in <0x0004c> IBM.Data.DB2.DB2Environment:get_Instance () in <0x8> IBM.Data.DB2.DB2ConnectionPool:FindConnectionPool (System.String connectionString) in <0x00015> IBM.Data.DB2.DB2ConnectionSettings:GetConnectionSettings (System.String connectionString) in <0x00020> IBM.Data.DB2.DB2Connection:SetConnectionString (System.String connectionString) in (wrapper remoting-invoke-with-check) IBM.Data.DB2.DB2Connection:SetConnectionString (string) in <0x00019> IBM.Data.DB2.DB2Connection:.ctor (System.String conString) in (wrapper remoting-invoke-with-check) IBM.Data.DB2.DB2Connection:.ctor (string) in <0x00026> MainClass:Main (System.String[] args) Could it be because the db2 version of the remote db is 7.x and the db2 I'm using is 8.1?? Thanks for the help. Pablo. On 7/1/05, Rafael Teixeira <[EMAIL PROTECTED]> wrote: > The file you need is libdb2_36.so. Do a locate for it. > > For 8.1 it would be something like > > /opt/IBMdb2/V8.1/lib/libdb2_36.so > > So a > > /sbin/ldconfig /opt/IBMdb2/V8.1/lib > > would make the library loader know where to find your copy of libdb2_36.so. > > But I'm not sure version 8.2 is compatible with the current DB2 > provider (I could not find definite documentation in the web but the > library may have been renamed to libdb2.so and may not be ABI/API > compatible). > > Also they've developed their own ADO.NET provider for 8.2 but it only > installs for .NET in Windows. > > :) > > > On 7/1/05, Pablo Cardona <[EMAIL PROTECTED]> wrote: > > Hi, I'm trying to access to a DB2 database in a remote computer, and > > this exceptions is thrown: > > > > Unhandled Exception: System.DllNotFoundException: db2_36 > > > > I've read in the mono-project web page that I need the library > > db2_36.so, but I can't find this library anywhere. > > I,ve installed IBM DB2 Personal Developer's Edition v8.2 but this > > library is not installed, so I don't know where can I find this > > library. > > So does anybody know where I can get this library?? > > > > Thanks. > > ___ > > Mono-devel-list mailing list > > Mono-devel-list@lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > > > > -- > Rafael "Monoman" Teixeira > --- > I'm trying to become a "Rosh Gadol" before my own eyes. > See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment. > It hurts! > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-devel-list] IBM DB2 db2_36.so problem
The file you need is libdb2_36.so. Do a locate for it. For 8.1 it would be something like /opt/IBMdb2/V8.1/lib/libdb2_36.so So a /sbin/ldconfig /opt/IBMdb2/V8.1/lib would make the library loader know where to find your copy of libdb2_36.so. But I'm not sure version 8.2 is compatible with the current DB2 provider (I could not find definite documentation in the web but the library may have been renamed to libdb2.so and may not be ABI/API compatible). Also they've developed their own ADO.NET provider for 8.2 but it only installs for .NET in Windows. :) On 7/1/05, Pablo Cardona <[EMAIL PROTECTED]> wrote: > Hi, I'm trying to access to a DB2 database in a remote computer, and > this exceptions is thrown: > > Unhandled Exception: System.DllNotFoundException: db2_36 > > I've read in the mono-project web page that I need the library > db2_36.so, but I can't find this library anywhere. > I,ve installed IBM DB2 Personal Developer's Edition v8.2 but this > library is not installed, so I don't know where can I find this > library. > So does anybody know where I can get this library?? > > Thanks. > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > -- Rafael "Monoman" Teixeira --- I'm trying to become a "Rosh Gadol" before my own eyes. See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment. It hurts! ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list