[Qt-interest] LGPL and static linking

Christian Dähn daehn at asinteg.de
Tue Dec 1 16:01:53 CET 2009


Hi,

Konrad Rosenbaum wrote:
> out of curiosity: why do people prefer static linking? Why do you consider 
> dynamic linking bad?
> 
> Maybe this discussion helps to enlighten all of us... ;-)

Oh no, not another flame war inside the same thread :-(

Of course there are serious reasons to use static binaries -
as some others already pointed out: If you have to deploy your
app to many unknown systems you cannot rely on correctly set
LD_LIBRARY_PATH or hope, that the system libs are fully compatible
with your app.

Distributing shared binaries is often very dangerous - especially
in mission critical applications.

And if you just don't know why and where to use shared or static
binaries, you shouldn't blame others - instead you should read
some more documentations and books to fill up your knowledge gaps.

Best regards,
Chris





More information about the Qt-interest-old mailing list