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

library/linking issues (was: TL2012 status 2012-02-29 - version 2)



Mitsuya Shibata <mty.shibata@gmail.com> wrote:

> At the moment, texlive-bin is ship xdvik without 60_unneeded_linking.
> If it work without patch, should drop patch?

The purpose of the patch is not to make it work.  AFAIK, unneeded
linking increases the memory consumption and might lead to superfluous
dependencies of the binary package on library packages. 

There are more of them:

dpkg-shlibdeps: warning: dependency on libutil.so.1 could be avoided if "debian/texlive-binaries/usr/bin/biber" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libnsl.so.1 could be avoided if "debian/texlive-binaries/usr/bin/biber" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libXext.so.6 could be avoided if "debian/texlive-binaries/usr/bin/mf debian/texlive-binaries/usr/bin/xdvi-xaw" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libcrypt.so.1 could be avoided if "debian/texlive-binaries/usr/bin/biber" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libSM.so.6 could be avoided if "debian/texlive-binaries/usr/bin/mf debian/texlive-binaries/usr/bin/xdvi-xaw" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libICE.so.6 could be avoided if "debian/texlive-binaries/usr/bin/mf debian/texlive-binaries/usr/bin/xdvi-xaw" were not uselessly linked against it (they use none of its symbols).

This is even more disturbing:

dpkg-shlibdeps: warning: symbol kpse_var_value used by debian/libptexenc1/usr/lib/libptexenc.so.1.3.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol kpse_fopen_trace used by debian/libptexenc1/usr/lib/libptexenc.so.1.3.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol kpse_fclose_trace used by debian/libptexenc1/usr/lib/libptexenc.so.1.3.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol kpse_readable_file used by debian/libptexenc1/usr/lib/libptexenc.so.1.3.0 found in none of the libraries.

This looks as if libptexenc is not linked against libkpathsea, but needs
it.  I have no idea how to test that, though.  Here's the (probably)
relevant part of the build log:

/bin/sh ./libtool --tag=CC   --mode=link gcc -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -g -O2 -no-undefined -version-info 4:0:3  -o libptexenc.la -rpath /usr/lib libptexenc_la-kanjicnv.lo libptexenc_la-ptexenc.lo libptexenc_la-unicode-jp.lo libptexenc_la-unicode.lo  
libtool: link: gcc -shared  -fPIC -DPIC  .libs/libptexenc_la-kanjicnv.o .libs/libptexenc_la-ptexenc.o .libs/libptexenc_la-unicode-jp.o .libs/libptexenc_la-unicode.o    -O2   -Wl,-soname -Wl,libptexenc.so.1 -o .libs/libptexenc.so.1.3.0

but really relevant would probably be Makefile, Makefile.in or whatever.

Regards, Frank
-- 
Frank Küster
Sprecher B90/Grüne OV Miltenberg und Umgebung
VCD Miltenberg, ADFC Aschaffenburg-Miltenberg
Debian Developer (TeXLive)


Reply to: