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

Paul Eggert eggert at CS.UCLA.EDU
Mon May 7 08:06:16 CEST 2007


This is a problem with TeX Live 2007 on Solaris 10 sparc.

I found two problems with xetex and xdvipdfmx.  First, they seem to
assume that /usr/sfw/lib is in the standard runtime library path, but
this isn't true on a default Solaris 10 installation.  Second, they
link to libiconv.so.2, but that's not installed on our departmental
Solaris 10 servers.

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

Here are the symptoms of the problem:

484-whale $ pwd
/r/share1/src/texlive2007-live-20070212
485-whale $ ldd bin/sparc-solaris/xetex bin/sparc-solaris/xdvipdfmx 
bin/sparc-solaris/xetex:
	libsocket.so.1 =>	 /lib/libsocket.so.1
	libfontconfig.so.1 =>	 /usr/lib/libfontconfig.so.1
	libiconv.so.2 =>	 (file not found)
	libfreetype.so.6 =>	 (file not found)
	libz.so =>	 /usr/lib/libz.so
	libexpat.so.0 =>	 (file not found)
	libm.so.1 =>	 /lib/libm.so.1
	libpthread.so.1 =>	 /lib/libpthread.so.1
	libCstd.so.1 =>	 /usr/lib/libCstd.so.1
	libCrun.so.1 =>	 /usr/lib/libCrun.so.1
	libc.so.1 =>	 /lib/libc.so.1
	libnsl.so.1 =>	 /lib/libnsl.so.1
	libfreetype.so.6 =>	 /usr/sfw/lib/libfreetype.so.6
	libexpat.so.0 =>	 /usr/sfw/lib/libexpat.so.0
	libmp.so.2 =>	 /lib/libmp.so.2
	libmd5.so.1 =>	 /lib/libmd5.so.1
	libscf.so.1 =>	 /lib/libscf.so.1
	libdoor.so.1 =>	 /lib/libdoor.so.1
	libuutil.so.1 =>	 /lib/libuutil.so.1
	libm.so.2 =>	 /lib/libm.so.2
	/usr/lib/cpu/sparcv8plus/libCstd_isa.so.1
	/platform/SUNW,Sun-Fire-T1000/lib/libc_psr.so.1
bin/sparc-solaris/xdvipdfmx:
	libm.so.1 =>	 /lib/libm.so.1
	libfontconfig.so.1 =>	 /usr/lib/libfontconfig.so.1
	libiconv.so.2 =>	 (file not found)
	libfreetype.so.6 =>	 (file not found)
	libz.so =>	 /usr/lib/libz.so
	libexpat.so.0 =>	 (file not found)
	libc.so.1 =>	 /lib/libc.so.1
	libfreetype.so.6 =>	 /usr/sfw/lib/libfreetype.so.6
	libexpat.so.0 =>	 /usr/sfw/lib/libexpat.so.0
	libm.so.2 =>	 /lib/libm.so.2
	/platform/SUNW,Sun-Fire-T1000/lib/libc_psr.so.1
486-whale $ grep -E '(libfreetype.so|libiconv.so|libexpat.so)' /var/sadm/install/contents
/usr/apache2/lib/libexpat.so=libexpat.so.0.1.0 s none SUNWapch2u
/usr/apache2/lib/libexpat.so.0=libexpat.so.0.1.0 s none SUNWapch2u
/usr/apache2/lib/libexpat.so.0.1.0 f none 0555 root bin 148840 54735 1174419216 SUNWapch2u
/usr/sfw/lib/libexpat.so=libexpat.so.0.5.0 s none SUNWlexpt
/usr/sfw/lib/libexpat.so.0=libexpat.so.0.5.0 s none SUNWlexpt
/usr/sfw/lib/libexpat.so.0.5.0 f none 0555 root bin 307540 29980 1106444918 SUNWlexpt
/usr/sfw/lib/libfreetype.so=libfreetype.so.6 s none SUNWfreetype2
/usr/sfw/lib/libfreetype.so.6 f none 0755 root bin 771116 21189 1158170646 SUNWfreetype2
/usr/sfw/lib/libfreetype.so.6.3.7=libfreetype.so.6 s none SUNWfreetype2
/usr/sfw/lib/sparcv9/libexpat.so=libexpat.so.0.5.0 s none SUNWlexpt
/usr/sfw/lib/sparcv9/libexpat.so.0=libexpat.so.0.5.0 s none SUNWlexpt
/usr/sfw/lib/sparcv9/libexpat.so.0.5.0 f none 0555 root bin 248048 29593 1106444919 SUNWlexpt
/usr/sfw/lib/sparcv9/libfreetype.so=libfreetype.so.6 s none SUNWfreetype2
/usr/sfw/lib/sparcv9/libfreetype.so.6 f none 0755 root bin 846864 65326 1158170646 SUNWfreetype2
/usr/sfw/lib/sparcv9/libfreetype.so.6.3.7=libfreetype.so.6 s none SUNWfreetype2
/usr/staroffice7/program/libfreetype.so.6 f none 0444 root other 726108 43217 1154547262 SUNWsom


More information about the tex-live mailing list