[tlbuild] first build for TeX Live 2008

Vladimir Volovich vvv at vsu.ru
Thu May 22 00:03:41 CEST 2008


"JK" == Jonathan Kew writes:

 JK> I think this must mean that the NetBSD linker is following
 JK> fontconfig's dependencies, as xdvipdfmx does not have a *direct*
 JK> dependency on libexpat or libz. It does use freetype but should be
 JK> linking with the static freetype in TL, but your libfontconfig
 JK> probably uses freetype as well.

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

BTW, i remembered that there's indeed a bug in xetex's configure or
Makefile rules. e.g. on solaris, the link command is:

CC -o xetex xetexini.o xetex0.o xetex1.o xetex2.o xetexextra.o trans.o XeTeX_ext.o xetex_pool.o XeTeXFontMgr_FC.o synctex-xe.o mfileio.o numbers.o pdfimage.o bmpimage.o jpegimage.o pngimage.o XeTeX_pic.o XeTeXFontMgr.o XeTeXLayoutInterface.o XeTeXOTLayoutEngine.o XeTeXFontInst.o cmaps.o FontTableCache.o XeTeXOTMath.o XeTeXGrLayout.o XeTeXFontInst_FT2.o -D_REENTRANT  -L/opt/csw/lib -lsocket ../../libs/icu-xetex/lib/libsicuuc.a ../../libs/icu-xetex/lib/libsicule.a ../../libs/icu-xetex/lib/libsicudata.a ../../libs/teckit/lib/.libs/libTECkit.a ../../libs/freetype2/.libs/libfreetype.a ../../libs/graphite-engine/src/.libs/libgraphite.a ../../libs/zlib/libz.a ../../libs/xpdf/xpdf/libxpdf.a ../../libs/xpdf/goo/libGoo.a ../../libs/xpdf/fofi/libfofi.a ../../libs/libpng/libpng.a /opt/csw/lib/libfontconfig.so /opt/csw/lib/libiconv.so /opt/csw/lib/libfreetype.so -lz /opt/csw/lib/libexpat.so lib/lib.a ../kpathsea/.libs/libkpathsea.a -lm -lpthread -R/opt/csw/lib -R/opt/csw/lib

which needlessly pulls in

/opt/csw/lib/libfreetype.so
/opt/csw/lib/libiconv.so
/opt/csw/lib/libexpat.so

and also -lz in addition to ../../libs/zlib/libz.a, and -lpthread.

making them direct dependencies.

the link command succeeeds if i remove these 3 .so libs, and -lz
-lpthread and leave only /opt/csw/lib/libfontconfig.so:

CC -o xetex xetexini.o xetex0.o xetex1.o xetex2.o xetexextra.o trans.o XeTeX_ext.o xetex_pool.o XeTeXFontMgr_FC.o synctex-xe.o mfileio.o numbers.o pdfimage.o bmpimage.o jpegimage.o pngimage.o XeTeX_pic.o XeTeXFontMgr.o XeTeXLayoutInterface.o XeTeXOTLayoutEngine.o XeTeXFontInst.o cmaps.o FontTableCache.o XeTeXOTMath.o XeTeXGrLayout.o XeTeXFontInst_FT2.o -D_REENTRANT  -L/opt/csw/lib -lsocket ../../libs/icu-xetex/lib/libsicuuc.a ../../libs/icu-xetex/lib/libsicule.a ../../libs/icu-xetex/lib/libsicudata.a ../../libs/teckit/lib/.libs/libTECkit.a ../../libs/freetype2/.libs/libfreetype.a ../../libs/graphite-engine/src/.libs/libgraphite.a ../../libs/zlib/libz.a ../../libs/xpdf/xpdf/libxpdf.a ../../libs/xpdf/goo/libGoo.a ../../libs/xpdf/fofi/libfofi.a ../../libs/libpng/libpng.a /opt/csw/lib/libfontconfig.so lib/lib.a ../kpathsea/.libs/libkpathsea.a -lm -R/opt/csw/lib -R/opt/csw/lib

Best,
v.



More information about the tlbuild mailing list