[tlbuild] linking against expat ... why

Norbert Preining preining at logic.at
Thu Aug 27 17:30:41 CEST 2009


On Do, 27 Aug 2009, Martin Schröder wrote:
> Is SUSE 10.1 old enough?
> > ldd inst/bin/x86_64-unknown-linux-gnu/xetex
>         libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00002af269f74000)
>         libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00002af26a0b7000)
>         libz.so.1 => /lib64/libz.so.1 (0x00002af26a233000)
>         libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00002af26a348000)
>         libm.so.6 => /lib64/libm.so.6 (0x00002af26a46b000)
>         libc.so.6 => /lib64/libc.so.6 (0x00002af26a5c0000)
>         /lib64/ld-linux-x86-64.so.2 (0x00002af269e58000)
> > strings -a inst/bin/x86_64-unknown-linux-gnu/xetex | grep '\.so'
> /lib64/ld-linux-x86-64.so.2
> libfontconfig.so.1
> libfreetype.so.6
> libz.so.1
> libexpat.so.1
> libm.so.6
> libc.so.6
> ld-linux-x86-64.so.2

Hmm, there again is libexpat, and in addition libfreetype. we should
get rid of all of them in the strings -a ... output.

Vladimir, can you give a quick howto how you relinked xetex manually?

Martin: 
- go into Work/texk/web2c
- rm xetex
- make
- copy the last g++ line that links the stuff
- move the -lfontconfig to the end
- remove -lexpat and -lz if it occurs
- retry the strings -a incantation

Vladimir?

And thanks for building Martin, looks fine in principle.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining at logic.at>        Vienna University of Technology
Debian Developer <preining at debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
AINSWORTH (n.)
The length of time it takes to get served in a camera shop. Hence,
also, how long we will have to wait for the abolition of income tax or
the Second Coming.
			--- Douglas Adams, The Meaning of Liff


More information about the tlbuild mailing list