Skip to main content
Correct spelling, fix grammar, improve formatting, remove noise
Source Link

Does asome code inherit GNU GPL if it just linklinks to a GPL library?

Sorry for bad English.

Suppose there is a library xxx under GNU GPL, that provideprovides a function yyy. Suppose my code links to the library and useuses this function. Does my code inherit GPL license?

IANAL, but my thoughts are conflicting:

  • On one hand, my code is derivative from the library, so it should inherit GPL.
  • On other hand, my code just useuses link to the xxx. Maybe there are other libraries, that hashave the same interface (particularly, they provide yyy function with same functionality, but different implementation). My code may link to any. My code really doesn'tisn't directly derived from xxx, it just useuses its interface. So, my code shouldn't inherit GPL.

I'm confused.

ADDED.Note: The question is absolutely abstract. I don't mean any concrete GPL library.

Does a code inherit GNU GPL if it just link to GPL library?

Sorry for bad English.

Suppose there is a library xxx under GNU GPL, that provide a function yyy. Suppose my code links to the library and use this function. Does my code inherit GPL license?

IANAL, but my thoughts are conflicting:

  • On one hand, my code is derivative from the library, so it should inherit GPL.
  • On other hand, my code just use link to the xxx. Maybe there are other libraries, that has the same interface (particularly, they provide yyy function with same functionality, but different implementation). My code may link to any. My code really doesn't directly derived from xxx, it just use its interface. So, my code shouldn't inherit GPL.

I'm confused.

ADDED. The question is absolutely abstract. I don't mean any concrete GPL library.

Does some code inherit GNU GPL if it just links to a GPL library?

Suppose there is a library xxx under GNU GPL, that provides a function yyy. Suppose my code links to the library and uses this function. Does my code inherit GPL license?

IANAL, but my thoughts are conflicting:

  • On one hand, my code is derivative from the library, so it should inherit GPL.
  • On other hand, my code just uses link to the xxx. Maybe there are other libraries, that have the same interface (particularly, they provide yyy function with same functionality, but different implementation). My code may link to any. My code really isn't directly derived from xxx, it just uses its interface. So, my code shouldn't inherit GPL.

I'm confused.

Note: The question is absolutely abstract. I don't mean any concrete GPL library.

deleted 2 characters in body; edited title
Source Link
Robert Harvey
  • 200.1k
  • 55
  • 468
  • 679

Does a code inherit GNU GPL if it just link to GPL librrarylibrary?

Sorry for bad English.

Suppose there is a library xxx under GNU GPL, that provide a function yyy. Suppose my code links to the library and use this function. Does my code inherit GPL license?

IANAL, but my thoughts are conflicting:

  • On otherone hand, my code is derivative from the library, so it should inherit GPL.
  • On other hand, my code just use link to the xxx. Maybe there are other libraries, that has the same interface (particularly, they provide yyy function with same functionality, but different implementation). My code may link to any. My code really doesn't directly derived from xxx, it just use its interface. So, my code shouldn't inherit GPL.

I'm confused.

ADDED. The question is absolutely abstract. I don't mean any concrete GPL library.

Does a code inherit GNU GPL if it just link to GPL librrary?

Sorry for bad English.

Suppose there is a library xxx under GNU GPL, that provide a function yyy. Suppose my code links to the library and use this function. Does my code inherit GPL license?

IANAL, but my thoughts are conflicting:

  • On other hand, my code is derivative from the library, so it should inherit GPL.
  • On other hand, my code just use link to the xxx. Maybe there are other libraries, that has the same interface (particularly, they provide yyy function with same functionality, but different implementation). My code may link to any. My code really doesn't directly derived from xxx, it just use its interface. So, my code shouldn't inherit GPL.

I'm confused.

ADDED. The question is absolutely abstract. I don't mean any concrete GPL library.

Does a code inherit GNU GPL if it just link to GPL library?

Sorry for bad English.

Suppose there is a library xxx under GNU GPL, that provide a function yyy. Suppose my code links to the library and use this function. Does my code inherit GPL license?

IANAL, but my thoughts are conflicting:

  • On one hand, my code is derivative from the library, so it should inherit GPL.
  • On other hand, my code just use link to the xxx. Maybe there are other libraries, that has the same interface (particularly, they provide yyy function with same functionality, but different implementation). My code may link to any. My code really doesn't directly derived from xxx, it just use its interface. So, my code shouldn't inherit GPL.

I'm confused.

ADDED. The question is absolutely abstract. I don't mean any concrete GPL library.

added 90 characters in body
Source Link
user55777
user55777

Sorry for bad English.

Suppose there is a library xxx under GNU GPL, that provide a function yyy. Suppose my code links to the library and use this function. Does my code inherit GPL license?

IANAL, but my thoughts are conflicting:

  • On other hand, my code is derivative from the library, so it should inherit GPL.
  • On other hand, my code just use link to the xxx. Maybe there are other libraries, that has the same interface (particularly, they provide yyy function with same functionality, but different implementation). My code may link to any. My code really doesn't directly derived from xxx, it just use its interface. So, my code shouldn't inherit GPL.

I'm confused.

ADDED. The question is absolutely abstract. I don't mean any concrete GPL library.

Sorry for bad English.

Suppose there is a library xxx under GNU GPL, that provide a function yyy. Suppose my code links to the library and use this function. Does my code inherit GPL license?

IANAL, but my thoughts are conflicting:

  • On other hand, my code is derivative from the library, so it should inherit GPL.
  • On other hand, my code just use link to the xxx. Maybe there are other libraries, that has the same interface (particularly, they provide yyy function with same functionality, but different implementation). My code may link to any. My code really doesn't directly derived from xxx, it just use its interface. So, my code shouldn't inherit GPL.

I'm confused.

Sorry for bad English.

Suppose there is a library xxx under GNU GPL, that provide a function yyy. Suppose my code links to the library and use this function. Does my code inherit GPL license?

IANAL, but my thoughts are conflicting:

  • On other hand, my code is derivative from the library, so it should inherit GPL.
  • On other hand, my code just use link to the xxx. Maybe there are other libraries, that has the same interface (particularly, they provide yyy function with same functionality, but different implementation). My code may link to any. My code really doesn't directly derived from xxx, it just use its interface. So, my code shouldn't inherit GPL.

I'm confused.

ADDED. The question is absolutely abstract. I don't mean any concrete GPL library.

Source Link
user55777
user55777
Loading