Einzelnen Beitrag anzeigen

tommie-lie
(Gast)

n/a Beiträge
 
#23

Re: GNU Lesser General Public License

  Alt 1. Jan 2006, 17:56
Zitat von xaromz:
Sollte die LGPL fordern, dass jedes Programm, das LPGL-Code eincompiliert hat, wieder unter der LGPL steht, wo ist dann der Unterschied zur GPL?
Die FSF schrieb in der LGPL:
When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library.
und
Die FSF schrieb in der LGPL:
As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications.

Kurz und auf Deutsch: Bibliotheken, die unter die GPL fallen, erzwingen in jedem erdenklichen Fall, daß Programme die diese Bibliotheken benutzen, ebenfalls unter der GPL veröffentlicht werden müssen (Ausnahme: die Bibliotheken sind standalone lauffähig und werden als solche behandelt). Die LGPL erlaubt late binding von Bibliotheken in ein Programm.

Zitat von xaromz:
Ich habe hier eine Unit, die unter der LGPL steht. Die kann ich natürlich nicht dynamisch linken, also warum steht sie dann überhaupt unter der LGPL?
Wieso kannst du sie nicht dynamisch linken? Du hast durch die LGPL die Freiheit, den Code zu verändern, also schaffe ein portables Interface und kompiliere es in eine dynamische Bibliothek (SO, DLL, BPL, whatever). Das Interface musst du offenlegen da er vom Originalcode abgeleitet ist, dein Programm kann aber unter den Bedingungen von Section 5 und 6 der LGPL die Bibliothek laden und benutzen.

Zitat von xaromz:
Und wie steht es mit kommerzieller Linux-Software, die muss ja auch manche Systembibliotheken dynamisch linken, obwohl diese unter GPL stehen (insbesondere der Kernel)?
Nicht alle Systembibliotheken fallen unter die GPL. Besonders die libc von GNU ist unter der LGPL und macht wenig Probleme. Direkte Kernel-Calls sind eher selten (und ich gestehe, daß ich gar nicht weiß, unter welcher Lizenz der Kernel steht).

Edit: Quote-Tags korrigiert.
  Mit Zitat antworten Zitat