[tlbuild] TeX Live on Debian 8: a bug fix [to Debian, not TeX Live]

Nelson H. F. Beebe beebe at math.utah.edu
Thu Apr 2 23:00:47 CEST 2015


Although I have had successful builds of TeX Live on Debian 6 and 7.7
(both x86-64), a similar build on Debian 8 failed in

	source/Work/utils/xpdfopen

with the error

	/usr/bin/X11/ld: cannot find -lXmu

I just found the problem.  On Debian 7.7, we have

	% ls -log /usr/lib/x86_64-linux-gnu/libXmu.so*
	lrwxrwxrwx 1     15 Apr 21  2012 /usr/lib/x86_64-linux-gnu/libXmu.so -> libXmu.so.6.2.0
	lrwxrwxrwx 1     15 Jul  1  2014 /usr/lib/x86_64-linux-gnu/libXmu.so.6 -> libXmu.so.6.2.0
	-rw-r--r-- 1 104984 Apr 21  2012 /usr/lib/x86_64-linux-gnu/libXmu.so.6.2.0

whereas on Debian 8 (until I fixed the problem), we have

	% ls -log /usr/lib/x86_64-linux-gnu/libXmu.so*
	lrwxrwxrwx 1     15 May  5  2014 /usr/lib/x86_64-linux-gnu/libXmu.so.6 -> libXmu.so.6.2.0
	-rw-r--r-- 1 102760 May  5  2014 /usr/lib/x86_64-linux-gnu/libXmu.so.6.2.0

Notice that libXmu.so is missing!  I sudo'ed to root, and ran

	# ln -s libXmu.so.6.2.0 /usr/lib/x86_64-linux-gnu/libXmu.so

then resumed the build in the xpdfopen directory. This time, make
succeeded in finding -lXmu.

Normally, I would not patch vendor-provided directories, but this
seems like a clear vendor bug.  I'll find out shortly whether the
result of the build on Debian 8 will succeed.

-------------------------------------------------------------------------------
- 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