In comp.os.linux.misc said:
I have read GNU GPL , Common public licence and gnu lesser license.
As my understanding, i can including those softwares which is(
GNU GPL , Common public licence and gnu lesser license) into my
commerical product. And i am free to distribute it and modify it.
As long as you follow the license for the code you didn't develop
yourself. In general, the GPL/LGPL conditions are:
1. If all you're doing is including unmodified GPL/LGPL'd programs on
the same media and using them in scripts or by executing them
independently (eg. do a popen( "gpld-command") and read and parse it's
output) then all you need to do is provide either the source to those
programs or pointers to the standard sites the source can be downloaded
from. Your program itself can be licensed under any terms.
1a. If you modify those programs, you need to make the modified
source code available either completely or as a patch to the
unmodified source.
2. If you dynamically link to an LGPL'd library, you need to provide
the source code for it or pointers to the standard sites someone can
download the source from. Your program itself can be licensed under
any terms.
2a. If you modify the code of the library in any way, you must make
the modified source code available either completely or as a patch
to the unmodified source code.
3. If you statically link to an LGPL'd library (ie. physically incorporate
it's object code into your program's executable) or link in any way
to a GPL'd library, the result is according to the LGPL/GPL a
derivative work under copyright law. Since the original authors have
only licensed you to distribute their code in this way as part of a
product licensed under the LGPL/GPL, you must either comply with
that license and LGPL/GPL your program or be in violation of their
copyright.
4. If you actually physically copy LGPL/GPL'd source code into your
program's source code, it's the same as if you'd written a book
by copying wholesale a part of another book. Your work is a
derivative work, and you must either comply with the license terms
of the code you included and LGPL/GPL your work or cease using the
LGPL/GPL'd code.
IANAL, you'll want to pay a real attorney to evaluate it, but take note
that quite a few companies (Linksys being a recent example) have looked
at this after GPL'd code has been found in their products and not a one
of them has felt they have enough of a leg to stand on to argue in court
that they shouldn't be required to comply with the GPL.