gpt4 book ai didi

licensing - LGPL 如果源代码单独提供,您可以单独分发可执行文件吗?

转载 作者:行者123 更新时间:2023-12-02 23:23:33 24 4
gpt4 key购买 nike

我编写了一个小应用程序,它链接到 LGPL 下发布的库。我的所有源代码 (C/Lua) 都可以从我的 GitHub 页面免费获得。但是,由于我的应用程序的性质(必须完全且简单地可移植)及其目标受众(非技术用户),我想静态链接它并将其作为单个独立的应用程序分发(也来自同一 GitHub 页面)可执行文件可以从任何目录下载并立即运行。没有许可证或 .dll 会使事情复杂化或迷惑用户。

问题是我不确定这是否合法。 LGPL 的措辞让我感到困惑。按照我的理解,只要我的源代码也被分发并附带 LGPL 的副本,我就可以静态链接到 LGPL 库。我的问题是:

我的源代码和许可证副本是否必须与我的可执行文件一起分发,打包到一个可分发的文件中,还是必须在某个地方可用?> 我的应用程序不包含任何指向其 GitHub 页面的链接或引用,但如有必要,可以进行修改。

感谢您的帮助!

最佳答案

GNU Licenses FAQ 中的相关部分

I want to distribute binaries via physical media without accompanying sources. Can I provide source code by FTP? Version 3 of the GPL allows this; see option 6(b) for the full details. Under version 2, you're certainly free to offer source via FTP, and most users will get it from there. However, if any of them would rather get the source on physical media by mail, you are required to provide that.

If you distribute binaries via FTP, you should distribute source via FTP.

My friend got a GPL-covered binary with an offer to supply source, and made a copy for me. Can I use the offer myself to obtain the source? Yes, you can. The offer must be open to everyone who has a copy of the binary that it accompanies. This is why the GPL says your friend must give you a copy of the offer along with a copy of the binary—so you can take advantage of it.

Can I put the binaries on my Internet server and put the source on a different Internet site? Yes. Section 6(d) allows this. However, you must provide clear instructions people can follow to obtain the source, and you must take care to make sure that the source remains available for as long as you distribute the object code.

只要你明确来源在哪里就可以了。

关于licensing - LGPL 如果源代码单独提供,您可以单独分发可执行文件吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9725174/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com