[tlbuild] (Unwanted?) Dependencies on libfreetype and libexpat on Solaris 10

Nelson H. F. Beebe beebe at math.utah.edu
Wed Apr 25 22:11:10 CEST 2012


Ettore Aldrovandi remarks that his builds of TeX Live 2012 for 64-bit
Solaris get references to these libraries:

	2 /usr/sfw/lib/64/libexpat.so.0
	2 /usr/sfw/lib/64/libfreetype.so.6

I avoid that problem by forcing linking with the lib*.a files; the
scripts at

	http://www.math.utah.edu/~beebe/tlbuild/

have just been updated to their latest versions, and I'm going through
the logs of builds that I initiated for this morning's snapshot of the
source tree.  

The newly-added make-texlive-snapshot.sh script makes a local tree
with a recent copy, then uses rsync to fill in the differences.

Here is my list of library dependencies for the 64-bit SPARC Solaris
build today (with leading counts of references from executable files):

    174 /lib/64/libc.so.1
    174 /lib/64/libm.so.2
     43 /lib/64/libdoor.so.1
     43 /lib/64/libgen.so.1
     43 /lib/64/libmd.so.1
     43 /lib/64/libmp.so.2
     43 /lib/64/libnsl.so.1
     43 /lib/64/libscf.so.1
     43 /lib/64/libsocket.so.1
     43 /lib/64/libuutil.so.1
      6 /lib/64/libaio.so.1
      6 /lib/64/librt.so.1
      5 /lib/64/libdl.so.1
      5 /usr/lib/64/libX11.so.4
      3 /usr/lib/64/libICE.so.6
      3 /usr/lib/64/libSM.so.6
      3 /usr/lib/64/libXext.so.0
      3 /usr/lib/64/libXmu.so.4
      3 /usr/lib/64/libXt.so.4
      2 /usr/openwin/lib/sparcv9/libICE.so.6
      2 /usr/openwin/lib/sparcv9/libSM.so.6
      2 /usr/openwin/lib/sparcv9/libXext.so.0
      2 /usr/openwin/lib/sparcv9/libXt.so.4
      1 /usr/lib/64/libXaw.so.5
      1 /usr/lib/64/libXpm.so.4

A colleague who has been running OpenSolaris and Solaris 11 Express on
home machines told me yesterday that Oracle now has a gcc-4.5.2
release in the package system, augmenting the default
/usr/sfw/bin/gcc, which is the 2005-vintage version 3.4.3.  

I installed the new C/C++/Fortran compilers this morning with

	# pkg install pkg:/developer/gcc-45 at 4.5.2-0.175.0.0.0.2.537

and then, in order to avoid contaminating the system PATH variables
further, created these symlinks:

	/usr/local/bin/gcc:       symbolic link to `gcc-4.5'
	/usr/local/bin/gcc-4.5:   symbolic link to `gcc-4.5.2'
	/usr/local/bin/gcc-4.5.2: symbolic link to `/usr/gcc/4.5/bin/gcc'

with similar links for cpp, g++, gcov, and gfortran.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
- 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------


More information about the tlbuild mailing list