IT lexicon › Programming › Relinking

Relinking

Programming På svenska → Updated: 2026-11-02

The LGPL requirement that users must be able to swap in their own version of the library – even inside a closed program.

The LGPL lets proprietary programs use a free library on one condition: recipients must be able to modify the library and have the program use the new version. With dynamic linking that's easy – replace the shared library file. With static linking the vendor must instead hand over the program's object files so users can relink against their own build.

LGPLv2.1 also requires that the licence terms permit reverse engineering for debugging such modifications, something plenty of EULAs expressly forbid. That requirement is why statically linked LGPL libraries in mobile apps are treated as a legal minefield.

← Back to the lexicon