In GPL, as far as I understand, if you release a product containing GPL-licensed software, the whole product needs to get released as GPL. Some people love this copyleft approach (RMS), some hate it (as it is a viral license, "infecting" other parts of the codebase). For using it is a library, it is usually a no-go (for virtually all commercial products, and any open source project that wants to keep a more permissive license, e.g. MIT).
> The Free Software Foundation (which holds the copyright of several notable GPL-licensed software products and of the license text itself) asserts that an executable that uses a dynamically linked library is indeed a derivative work.
LGPL seems to make (IMHO a very sane and desirable) distinction:
> A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License.
How does AGPL approach this subject? Or rather - is it closer to GPL or LGPL, when it comes to the definition of "derivative works"?
(I am not a lawyer; quotations are from Wikipedia)