[tlbuild] TeX Live builds

Jonathan Kew jfkthame at googlemail.com
Mon Apr 27 22:15:23 CEST 2009


On 27 Apr 2009, at 09:50, Peter Breitenlohner wrote:

> On Sat, 25 Apr 2009, Martin Schröder wrote:
>
>>> uname -a
>> Linux nelson 2.6.22.19-0.2-default #1 SMP 2008-12-18 10:17:03 +0100
>> x86_64 x86_64 x86_64 GNU/Linux
>>> ldd inst/bin/x86_64-unknown-linux-gnu/xetex
>>       libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1  
>> (0x00002b49e7584000)
>>       libfreetype.so.6 => /usr/lib64/libfreetype.so.6  
>> (0x00002b49e77b9000)
>>       libz.so.1 => /lib64/libz.so.1 (0x00002b49e7a37000)
>>       libexpat.so.1 => /lib64/libexpat.so.1 (0x00002b49e7c4d000)
>>       libm.so.6 => /lib64/libm.so.6 (0x00002b49e7e71000)
>>       libc.so.6 => /lib64/libc.so.6 (0x00002b49e80c4000)
>>       /lib64/ld-linux-x86-64.so.2 (0x00002b49e7367000)
>> Some of these should be static and not dynamic, I think.
>
> Hi Martin,
>
> I just checked my Linux-i686 build, as well as the i386 and x86_64  
> builds
> from TL2008 (dated 2008-08-10 as in svn://tug.org/texlive/trunk/ 
> Master/bin).
>
> They all show the same behaviour. The reason is this: they are linked
> against the static libfreetype.a from the TL tree, but in addition  
> need
> libfontconfig (libfontconfig.so.1) which depends on libfreetype.so.6.
>
> Thus as long as we don't build libfontconfig and libexpat in the TL  
> tree,
> this is not going to change (and I am not sure whether it should be
> changed or not).


Yes, this is expected behavior, and should be ok. If you check the  
binaries from TL2007 and TL2008, I believe you'll find the same  
dependencies.

Back when the xetex/Linux port was first done, at least, it proved  
necessary to link dynamically with the host system's libfontconfig in  
order to reliably pick up the proper configuration.

If anyone wants to experiment again with static-linking fontconfig,  
feel free to try; personally, I don't have time to work on this at the  
moment.

JK






More information about the tlbuild mailing list