[Mono-devel-list] OleDb Cannot Load libgda-2.so
danielmorgan at verizon.net
Sat Nov 1 11:56:51 EST 2003
I am cc'ing the GNOME-DB folks. They may have an idea.
If you're trying to connect to PostgreSQL; there are many providers you
could use if OLE DB does not work for you.
1. There is Npgsql (included in Mono) works on .net and Mono
2. Then there is the Mono.Data.PostgreSqlClient in Mono. It only works on
and requires the PostgreSQL client library libpq. It is deprecated in favor
3. There is the PostgreSQL .net provider from ByteFX.Data.
I do not know if it works on Mono, but their MySQL provider does.
4. PgSqlClient. don't know about this one.
5. Use the System.Data.Odbc that is included in Mono. On Windows, it uses
the native Windows ODBC support. On Linux, you will need unixODBC or iODBC.
From: mono-devel-list-admin at lists.ximian.com
[mailto:mono-devel-list-admin at lists.ximian.com]On Behalf Of Met @ Uber
Sent: Friday, October 31, 2003 10:26 AM
Subject: [Mono-devel-list] OleDb Cannot Load libgda-2.so
So its a good deal of time later and I'm still having the exact same
problem with OleDb and its inability to find the shared object
libgda-2.so. I have the installed libgda RPM's from gnome-Db's ftp
site. They are installed in /usr/lib/*. I then wrote up the OleDb Test
connection file with a few modifications (try/catch/finally). The
program compiles just fine. But when I try to execute it (mono
OleDbTest.exe) errors gallor run across my console.
** (OleDbTest.exe:13979): WARNING **: Failed to load library
./libgda-2.so (gda-2): ./libgda-2.so: cannot open shared object file: No
such file or directory
It seems like its trying to find libgda in a local directory, but this
can't/shouldn't happen. Any ideas about how to fix this? This is my
only possibility for getting OJB.NET running on Linux with PostreSql, so
I'm kind of in a bind.
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list