Re: [MSEide-MSEgui-talk] SQLite3 static linking (again again)

2012-01-06 Thread Christian Nobel
Please call procedure initializesqlite3(['./libsqlite3.so']); from lib/common/db/sqlite3dyn.pas before opening a connection. This does not link statically, I assume setting SQLiteLibraryName in Lazarus neither. Martin Might be I have misunderstood the concept of static linking, but

Re: [MSEide-MSEgui-talk] SQLite3 static linking (again again)

2012-01-06 Thread Martin Schreiber
On Friday 06 January 2012 16.26:35 Christian Nobel wrote: Is the initializesqlite3(['./libsqlite3.so']) the way forward in that game, like the SQLiteLibraryName:='./libsqlite3.so' is it when talking Lazarus? Yes. --

Re: [MSEide-MSEgui-talk] SQLite3 static linking (again again)

2012-01-06 Thread Christian Nobel
Den 06-01-2012 18:02, Martin Schreiber skrev: On Friday 06 January 2012 16.26:35 Christian Nobel wrote: Is the initializesqlite3(['./libsqlite3.so']) the way forward in that game, like the SQLiteLibraryName:='./libsqlite3.so' is it when talking Lazarus? Yes. Great, thanks. Ok, it is not

Re: [MSEide-MSEgui-talk] SQLite3 static linking (again again)

2012-01-06 Thread Christian Nobel
Den 06-01-2012 19:47, Martin Schreiber skrev: BTW, using alien to the system own standard libraries on Linux is possibly no good idea. By alien, do you mean the usage I want, regardless of there is a standard library or not? I cannot see it should do any harm, as long as all I want to do is to

Re: [MSEide-MSEgui-talk] SQLite3 static linking (again again)

2012-01-06 Thread Martin Schreiber
On Friday 06 January 2012 20.01:26 Christian Nobel wrote: Den 06-01-2012 19:47, Martin Schreiber skrev: BTW, using alien to the system own standard libraries on Linux is possibly no good idea. By alien, do you mean the usage I want, regardless of there is a standard library or not? Alien

Re: [MSEide-MSEgui-talk] SQLite3 static linking (again again)

2012-01-06 Thread Lars
IvankoB for-mse wrote: Static liking C code into FPC ? Is it possible ? That's different than what the original poster wants I think, but you use OBJ files or something: