-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
License warning #9
Comments
LGPL is just fine to link to any program regardless of its license. Wolframs's Mathematica uses GMP as well, IIRC. |
That is fine if it will be dynamically linked. I explicitly stated that this applies to static linking. |
|
I don't think that's easy to convince (or even possible) go to just link .a files together, to produce the final executable. |
Here is the test binary on my machine showing the dynamic linking
|
Excellent. Then Just add to readme, that the gmp lib must be dynamically linked due to LGPL license if one wants to use it in commercial projects. Many are not aware of this. That's the reason I'm advocating this whenever I have a chance. |
@mvrhov that sounds like a good plan. Fancy sending a pull request? |
Except it's not correct. LGLP does not forbid static linking. It just states particular conditions for that. Warning otherwise amounts to only spreading FUD. OSS vs commercial SW is a false dichotomy. SW can be non-free and open source at the same time. |
IMO you should put the warning into the readme.
The GMP license is GPL/LGPL however you are statically linking the library into the final executable,
As the GPL is viral license all your code is also GPL and if you distribute the executable you must also distribute all the source code of you application!
The text was updated successfully, but these errors were encountered: