Topic: deploying applications
When I get the SqlDbo components working, when I deploy an application on linux, do I need to seek a path to the sqlite3 library or does the component find the library.
You are not logged in. Please login or register.
When I get the SqlDbo components working, when I deploy an application on linux, do I need to seek a path to the sqlite3 library or does the component find the library.
Dave,
At first, if the SqliteLibrary property is not set, the SqlitePassDatabase Component searchs the default path (in SqlitePassConst.pas) :
{ Default sqlite library file }
{$IFDEF MSWINDOWS}
DefaultSQLiteLibrary = 'sqlite3.dll';
SqlitePassPathSeparator = '\';
{$ELSE}
DefaultSQLiteLibrary = 'libsqlite3.so';
DefaultSQLitePath = '/usr/local/lib/';
SqlitePassPathSeparator = '/';
{$ENDIF}
I'm going to work on this in order to provide multiple default search paths. As I'm not a Linux expert, could you tell me the default paths that need to be searched (by priority order...). Thanks
Luc
Hi LuckyLazarus, I'm afraid that every distro have different Paths, on my system (Debian based) /usr/lib/libsqlit3.so the rpm based distros seem to have different paths to libraries. Sorry I can't help much but I try and stick to one that works for me, usually debian based
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 7 official extensions. Copyright © 2003–2009 PunBB.