[tlbuild] linking against expat ... why

Norbert Preining preining at logic.at
Wed Aug 26 17:47:41 CEST 2009


On Mi, 26 Aug 2009, Vladimir Volovich wrote:
> some shared library dependencies shown by "ldd" are indirect, caused by
> other shared libraries (e.g. libfontconfig).

Yes.

> could you run
> 
>   strings -a xetex | grep '\.so'
> 
> to see which are the direct shared library dependencies?

You are RIGHT! Great.

But then, why the hell when I build the xetex binary I have:
$ strings -a xetex | grep '\.so'
/lib64/ld-linux-x86-64.so.2
libfontconfig.so.1
libm.so.6
libc.so.6
ld-linux-x86-64.so.2
libpthread.so.0


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


So we have libexpat in there?

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


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

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
-------------------------------------------------------------------------------
Arthur said, "So which way do I go?"
"Down, " said Fenchurch, "on this occasion."
He moved his hand.
"Down, " she said, "is in fact the other way. "
"Oh yes."
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy


More information about the tlbuild mailing list