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:

  1. installed firebird ado.net provider nuget.
  2. 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.
  3. created connection string with:

    string fbconnectionstring = string.format ("servertype=1;user=sysdba;" + password=masterkey;dialect=3;database={0};charset=utf8", _dbfile); fbconnection.createdatabase (fbconnectionstring); 
  4. still, error, fbembed.dll not 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

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -