[ubuntu-mono] [Bug 630391] Re: Missing libodbc.so symbolic link

Mathias Gug mathiaz at ubuntu.com
Tue Sep 7 20:56:40 UTC 2010


Thank you for taking the time to report this bug and helping to make
Ubuntu better.

/usr/lib/libodbc.so is part of unixodbc-dev as it should be. This is
probably a problem with mono then.

** Package changed: unixodbc (Ubuntu) => mono (Ubuntu)

-- 
Missing libodbc.so symbolic link
https://bugs.launchpad.net/bugs/630391
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to mono in ubuntu.

Status in “mono” package in Ubuntu: New

Bug description:
Binary package hint: unixodbc

The mono library System.Data.Odbc searches for libodbc.so but the unixodbc package does not create this symbolic link.  That means ODBCConnection.Open() fails with a LibraryNotFound exception.

I was able to fix this by running
sudo ln -s /usr/lib/libodbc.so.1 /usr/lib/libodbc.so

The unixodbc package should create this link automatically so mono works properly.






More information about the Ubuntu-mono mailing list