[tlbuild] linking against expat ... why

Vladimir Volovich vvv at vsu.ru
Wed Aug 26 18:05:29 CEST 2009


"NP" == Norbert Preining writes:

 NP> But: $ strings -a Master/bin/x86_64-linux/xetex | grep '\.so'
 NP> /lib64/ld-linux-x86-64.so.2 libfontconfig.so.1 libexpat.so.1
 NP> libfreetype.so.6 libz.so.1 libm.so.6 libc.so.6

 NP> So we have libexpat in there?

 NP> Of all the xetex binaries we have rogue deps on libexpat in:
 NP> mips-irix (.so.1) sparc-linux (.so.0) x86_64-linux (.so.1)

 NP> Can we fix that, at least for x86_64-linux that would be fine!

i was manually relinking xetex on the platforms i build on, by noticing
the invocation of libtool to link xetex, and changing it to move the
-lfontconfig at the end.

see the patch i posted at
http://tug.org/pipermail/tlbuild/2009q2/000699.html
(and other messages in that thread)

which could allow to solve this in general case, without the need of
manual relinking.

Peter had some objections but i didn't have time to discuss it further.

Best,
v.


More information about the tlbuild mailing list