Hi Gerd,
> I have read a lot of information about this topic. In short the LGPL
> says that the library have to be linked as a shared library and can
> be
> replaced by another library.
>
that's correct
> Otherwise the application have to be licensed as LGPL as well.
>
not completely correct:
a) the LGPL license only applies to *libraries*, is not at all
intended for applications
b) the LGPL has no "viral" clauses, so statically linking your own
"proprietary" application and a LGPLed library never implies
that your code becomes GPLed "by viral infection".
anyway this way you are surely infringing the license terms, and
that's all; it simply is a forbidden option.
c) on the other side, if your own code is GPLed (by your free choice,
not by external imposition) then you can surely statically link
any other open source component.
the reason is basically simple: all users can rebuilt the whole
binaries stack starting from sources, so you are not limiting
their freedom in no way by releasing a statically linked app.
d) an alternative possibility exists: even if you are not willing
to disclose your source code, you can anyway publicly release
the corresponding object files (*.o)
this way you'll allow any user willing to relink the application
to do such a thing; in this case the user's freedom will suffer
no limitation, and you can statically link the LGPLed library
without infringing the license terms.
> As far as I know it is only possible to publish an android app
> with a static linked library. Does it mean that only LGPL-licensed
> apps are allowed to use the spatialite-android-library?
>
AFAIK it's Apple iOS that forbids using any kind of dynamic linking;
I'm not at all aware of such limitation on Android (not really sure,
anyway).
bye Sandro
--
Il messaggio e' stato analizzato alla ricerca di virus o
contenuti pericolosi da MailScanner, ed e'
risultato non infetto.