[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@physik.uni-erlangen.de> wrote:

> Frank Küster wrote:
>> 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 
> [...]
>
> And because libpoppler is linked against, say, libexpat that happens to
> pdfetex, too? I think this is similar (the same?) to the situation
> described in
> <URL:http://lists.debian.org/debian-devel-announce/2005/11/msg00016.html>.

Yes, you are right.

> I am not sure, though, if I would like to tinker with teTeX's (IMO
> rather complicated) build system.

I tried to follow the instructions at
http://people.debian.org/~keybuk/libtool-updating.html, but because of
the unusual setup it doesn't work so easy.

At rsync://tug.org/tetexdevsrc/ there's an updated teTeX tree, and with
this I get a bit farther - it works without errors.  But, probably
because automake isn't used, the simple procedure does not work, and I
end up with pdfetex linked against lots of libraries, again:

$ ldd sid/tetex-src/texk/web2c/.libs/pdfetex 
	libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7ec1000)
	libkpathsea.so.4 => /usr/lib/libkpathsea.so.4 (0xb7ead000)
	libpoppler.so.0 => /usr/lib/libpoppler.so.0 (0xb7d99000)
	libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7d57000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7d4e000)
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7c82000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7c53000)
	libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7c34000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7bc7000)
	libz.so.1 => /usr/lib/libz.so.1 (0xb7bb5000)
	libstdc++.so.6 => not found
	libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7b93000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7b8a000)
	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7a54000)
	libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb799a000)
	libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7997000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7977000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7ef8000)
 

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




Reply to: