[tex-live] xdvipdfmx build problem

Ralf Stubner ralf.stubner at physik.uni-erlangen.de
Mon Oct 2 10:14:56 CEST 2006


Reinhard Kotucha <reinhard.kotucha at web.de> writes:

>>>>>> "Karl" == Karl Berry <karl at freefriends.org> writes:
>
>   > Acroread is not linked against fontconfig, as far as I can see.
>
> $ ldd /usr/local/share/Acrobat7.08/Reader/intellinux/bin/acroread|grep fontconfig
>   libfontconfig.so.1 => /emul/linux/x86/usr/lib/libfontconfig.so.1 (0xf77db000)

That does not mean that acroread is linked against fontconfig directly
since ldd goes recursively through the libraries. Something like objdump
or readelf is more reliable. In particular, 

$ readelf -d /usr/lib/Adobe/Acrobat7.0/Reader/intellinux/bin/acroread | grep NEEDED

does not list fontconfig. It does list libgdk-x11-2.0.so, though, which
in turn gives

$ readelf -d /usr/lib/libgdk-x11-2.0.so | grep fontconfig
 0x00000001 (NEEDED)                     Shared library: [libfontconfig.so.1]

I guess if one would build gdk without fontconfig support, then 'ldd
acroread' would not list fontconfig.

> If fontconfig is absent it scans the X11 font directories.

What's really annoying was acroread's habit to scan ~/fonts, which took
over a minute on my system. Fortunately that cn be changed in the
startup shell script. 

cheerio
ralf



More information about the tex-live mailing list