c# - Getting Mono and Firebird Embedded working on Linux -
i looking firebird embedded product replace sqlite in project. thing is, able use same compilation of application both on windows , linux, , unfortunately sqlite it's not possible.
still, can't firebird running on linux mono (haven't tried windows yet).
things i've done:
- installed
firebird ado.net providernuget. - downloaded 32 bit embedded client windows libraries , extracted bin directory:
fbembed.dll,firebird.cfg,firebird.msg,ib_util.dll,icudt30.dll,icuin30.dll,icuuc30.dll. created connection string with:
string fbconnectionstring = string.format ("servertype=1;user=sysdba;" + password=masterkey;dialect=3;database={0};charset=utf8", _dbfile); fbconnection.createdatabase (fbconnectionstring);still, error,
fbembed.dllnot found in path.
what should do?
the firebird .net provider developed windows platform. wire protocol implementation works mono , under linux, can connect normal firebird server.
the fbembed.dll library firebird embedded specific windows , cannot loaded on linux. .net provider code have support linux, looks need compile linux. assume nuget package default version compiled support windows , embedded.
Comments
Post a Comment