[Lazarus] Strange message "Can not initialize interface sqlite" in Android

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Sat Mar 31 11:37:46 CEST 2012


Ok, thanks, so it is from rtl/inc/dynlibs.pas and LoadLibrary from
rtl/unix/dynlibs.inc:

function TryInitializeLibraryInternal(var Handler: TLibHandler; const
LibraryName: String;
  const User: Pointer; const NoSymbolErrors: Boolean): Integer;
.....
  Result := InterlockedIncrement(Handler.RefCount);
  if Result = 1 then
  begin
    Handler.Handle := LoadLibrary(LibraryName);
    if Handler.Handle = NilHandle then
    begin
      AppendLibraryError(Handler, Format(SLibraryNotLoaded,
[Handler.InterfaceName, LibraryName]));

So I assume that dlopen is simply not finding the library.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list