[Qt-interest] How to do a static linking

Konstantin Tokarev annulen at yandex.ru
Tue Feb 15 18:24:00 CET 2011



15.02.2011, 20:08, "Andreas Pakulat" <apaku at gmx.de>:
> On 15.02.11 17:18:12, Konstantin Tokarev wrote:
>
>>  15.02.2011, 17:09, "Karl Ruetz" <karl.ruetz at sototech.com>;:
>>>  When you say "other systems" do mean other Linux Distributions?
>>>  If so, you can still dynamically link (providing the Linux kernel version matches and you are not trying to go from a 64bit system to a 32bit system.) and distribute the necessary shared objects.
>>  Kernel version is not so important (of course 2.4.x is not compatible with 2.6.x, but minor version generally doesn't matter)
>>
>>  Much more important is glibc version - software built agains old version can run on new, but not vice versa.
>>
>>  To get truly redistributable Linux binaries, I'd recommended to build them on system with reasonably old glibc (e.g., CentOS 5)
>>  and distribute them with bundled Qt libraries
>
> That does not really help anymore. There are distro's out there that don't
> ship a libc5 anymore and even if they do the users always need to install
> it manually. 

Who said "libc5"? RHEL 5.x iuses libc6. Of course if one needs to support older releases, things get more complicated.

-- 
Regards,
Konstantin



More information about the Qt-interest-old mailing list