[tlbuild] first build for TeX Live 2008

Jukka Salmi j+tex-live at 2008.salmi.ch
Thu May 22 16:10:40 CEST 2008


Jonathan Kew --> tlbuild (2008-05-21 22:52:52 +0100):
> On 21 May 2008, at 9:57 pm, Jukka Salmi wrote:
[...]
>> xdvipdfmx:
>>  0x00000001 (NEEDED)                     Shared library: [libm.so.0]
>>  0x00000001 (NEEDED)                     Shared library:  
>> [libfontconfig.so.1]
>>  0x00000001 (NEEDED)                     Shared library:  
>> [libfreetype.so.6]
>>  0x00000001 (NEEDED)                     Shared library: [libz.so.0]
>>  0x00000001 (NEEDED)                     Shared library:  
>> [libexpat.so.1]
>>  0x00000001 (NEEDED)                     Shared library: [libc.so.12]
>
> I think this must mean that the NetBSD linker is following fontconfig's 
> dependencies, as xdvipdfmx does not have a *direct* dependency on 
> libexpat or libz. It does use freetype but should be linking with the 
> static freetype in TL, but your libfontconfig probably uses freetype as 
> well.

Indeed, freetype, z and expat libs are dependencies of the fontconfig
lib. Sorry for the noise.


> Could you show us the link command from the build log, to see how the  
> libraries are actually being specified there?

Sure, here it is (with most of the listed object files removed):

/bin/ksh ../libtool --tag=CC   --mode=link gcc  -g -O2  -L../../../texk/kpathsea/.libs -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib  -o xdvipdfmx xdvipdfmx-agl.o [...] xdvipdfmx-xbb.o  ../../../libs/libpng/libpng.a ../../../libs/zlib/libz.a ../../../libs/freetype2/.libs/libfreetype.a -lkpathsea -lm -lfontconfig

(The explicit rpath setting is because I set LDFLAGS accordingly when
calling TL's Build script.)


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~


More information about the tlbuild mailing list