[tex-live] TeX Live 2007 xetex, xdvipdfmx shared library woes on Solaris 10 sparc

Vladimir Volovich vvv at vsu.ru
Mon May 7 09:36:15 CEST 2007


"PE" == Paul Eggert writes:

 PE> This is a problem with TeX Live 2007 on Solaris 10 sparc.  I
 PE> found two problems with xetex and xdvipdfmx.  First, they seem to
 PE> assume that /usr/sfw/lib is in the standard runtime library path,
 PE> but this isn't true on a default Solaris 10 installation.

as far as i remember (i've built the TeX Live solaris sparc binaries),
the path /usr/sfw/lib is "included" into the binaries and you don't
need to configure the dynamic loader, i.e. it is enough if the
libraries will be present in that location.

i've put the following note in the README in the source tarball:

  xe(la)tex and xdvipdfmx depend on fontconfig.
  Because Solaris 8 does not include fontconfig, we used fontconfig
  package (version 2.3.2) from http://www.blastwave.org/
  (together with it's dependencies)

i've built the binaries on Solaris 8 for better compatibility
(e.g. had i built on Solaris 10, there were problems with libm.so when
run on older Solaris versions).

 PE> Second, they link to libiconv.so.2, but that's not installed on
 PE> our departmental Solaris 10 servers.

it is strange that you do have /usr/lib/libfontconfig.so.1 but at the
same time don't have libiconv.so.2, libfreetype.so.6 and libexpat.so.0
because these libraries are used by libfontconfig.so.1

what do you get when you run

ldd /usr/lib/libfontconfig.so.1

if you get the same problem with missing libiconv.so.2 etc, then your
installation is not complete or the dependencies are not met.

these libraries should be provided by solaris 10, if it ships
fontconfig.

 PE> A simple solution (which is what I did) is to not install xetex
 PE> and xdvipdfmx.  Another possibility would be to ship the
 PE> libraries in question, as part of TeX Live.

"fant" == Frank Küster writes:

 fant> Paul Eggert <eggert at CS.UCLA.EDU> wrote:
 >> bin/sparc-solaris/xetex: libfreetype.so.6 => (file not found)
 fant> [...]
 >> libfreetype.so.6 => /usr/sfw/lib/libfreetype.so.6

 fant> Hm, this looks strange, why is it listed twice?

probably because of dependency on freetype by system fontconfig
library and by xetex itself.

Best,
v.



More information about the tex-live mailing list