Is GPL-2.0-only compatible with LGPL-2.1?
Yes.
LGPL-2.1 can be relicensed up to GPLv2. Result license is the more restrictive of the inputs. You must satisfy every input license's notice and source-offer terms. Verify pairwise compatibility first.
Resulting work's license: GPL-2.0-only
General guidance, not legal advice.
Obligations when redistributing as open source
- GPL-2.0-only: retain the copyright notice and license text.
- GPL-2.0-only: state significant changes made to the code.
- GPL-2.0-only: provide complete corresponding source of the combined work.
- GPL-2.0-only: the combined distributed work must be licensed under GPL-2.0-only.
- LGPL-2.1: retain the copyright notice and license text.
- LGPL-2.1: state significant changes made to the code.
- LGPL-2.1: publish the source of any modifications to the library itself.
- LGPL-2.1: modifications to the library must remain under LGPL-2.1.
Other distribution models
The verdict is the same under every distribution model; the obligations differ. Check this pair in the tool to switch models.