[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#353693: tetex-bin: pdfetex is linked against unused(?) libraries

Ralf Stubner <ralf.stubner@web.de> wrote:

> I see no reason why pdfetex should be linked against libXrender, libX11,
> libfreetype, libfontconfig (would be intersting, though), and libexpat.
> Or am I missing something?

Yes, you are missing that

id:/home/frank# ldd /usr/lib/libpoppler.so.0.0.0 
	linux-gate.so.1 =>  (0xffffe000)
	libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7e15000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7de6000)
	libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7dc6000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7d59000)
	libz.so.1 => /usr/lib/libz.so.1 (0xb7d45000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7c67000)
	libm.so.6 => /lib/tls/libm.so.6 (0xb7c41000)
	libc.so.6 => /lib/tls/libc.so.6 (0xb7b09000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7afe000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7af5000)
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7a2a000)
	libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7a04000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb79e4000)
	/lib/ld-linux.so.2 (0x80000000)
	libdl.so.2 => /lib/tls/libdl.so.2 (0xb79e0000)

I have talked to the poppler people, and at least someone said they
would be willing to provide a version (ideally a wrapper library that
doesn't expose all those internal symbols) stripped down for non-display
use.  But I fear this isn't top priority, and I won't have the time and
knowledge to provide a patch.

Regards, Frank
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)

Reply to: