[Mono-list] ODBC error

yoros@wanadoo.es yoros@wanadoo.es
Tue, 30 Sep 2003 19:48:33 +0200


On Tue, Sep 30, 2003 at 02:15:11AM +0100, Pedro Borges wrote:
> Hello
> I have a solution created in VS.NET and i'm trying to port it to Mono in linux. The application has ASPX pages and acesses a MySQL DB through ODBC.
> In windows i use Microsoft.Data.Odbc and in linux i change it System.Data.Odbc. It builds fine but when i execute it there is an error:
> 
> ** (xsp.exe:2930): WARNING **: Failed to load library ./libodbc32.so (odbc32): ./libodbc32.so: cannot open shared object file: No such file or directory
>

You need to instal unix-odbc and make a link: libodbc32.so -> lib...

(I use libiodbc)

See you,

    Pedro

-- 
Pedro Martínez Juliá
\  yoros@terra.es
)|    yoros@wanadoo.es
/        http://yoros.dyndns.org
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org
GnuPG public information:  pub  1024D/74F1D3AC
Key fingerprint = 8431 7B47 D2B4 5A46 5F8E  534F 588B E285 74F1 D3AC