[tex-live] pdfnup (pdfTeX) error

Stefan Husmann stefan-husmann at t-online.de
Fri Dec 14 22:25:02 CET 2018

Norbert Preining <preining at logic.at> writes:

> Hi Orm,

> Please contact the Arch people about this, since it is not reproducible
> in *real* *upstream* TeX Live.
> Thanks.
> Norbert
> --
> PREINING Norbert                               http://www.preining.info
> Accelia Inc.     +    JAIST     +    TeX Live     +    Debian Developer
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


I am also on Arch Linux, but I use the Original TeXLive, and there
everything works fine.

Arch Linux has the philosophy to not patch packages much, but they have
also the philosophy to use system libraries as much as possible, and the
texlive-bin package is linked against systems's poppler, which is at
version 0.71.0. I think this is the most important difference.

The patches Arch applies can be viewed here:

What th OP could to is to run

ldd $(which pdftex)

The original pdftex has this:

        linux-vdso.so.1 (0x00007fffac350000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007fb8ccaa3000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007fb8cc8df000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fb8ccc73000)

The Arch delivered one should have some more shared libs. I happen to
have an older package lying around on my system, but for the version the
OP has it should be similar.

[haawda at frege bin]$ ldd pdftex
        linux-vdso.so.1 (0x00007ffd481fc000)
        libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f97a184b000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f97a1634000)
        libpoppler.so.82 => /usr/lib/libpoppler.so.82 (0x00007f97a134f000)
        libkpathsea.so.6 => not found
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f97a11c0000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f97a103b000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f97a101f000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f97a0e5b000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f97a0b92000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f97a0b4b000)
        libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x00007f97a0ab6000)
        libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007f97a0a29000)
        libsmime3.so => /usr/lib/libsmime3.so (0x00007f97a09fd000)
        libnss3.so => /usr/lib/libnss3.so (0x00007f97a08cf000)
        libnspr4.so => /usr/lib/libnspr4.so (0x00007f97a088d000)
        libopenjp2.so.7 => /usr/lib/libopenjp2.so.7 (0x00007f97a0830000)
        liblcms2.so.2 => /usr/lib/liblcms2.so.2 (0x00007f97a05d5000)
        libtiff.so.5 => /usr/lib/libtiff.so.5 (0x00007f97a054a000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f97a0527000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f97a1a74000)
        libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f97a0514000)
        libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f97a042e000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f97a03f2000)
        libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007f97a03e9000)
        libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0x00007f97a03bf000)
        libidn2.so.0 => /usr/lib/libidn2.so.0 (0x00007f97a01a2000)
        libssh2.so.1 => /usr/lib/libssh2.so.1 (0x00007f97a0172000)
        libpsl.so.5 => /usr/lib/libpsl.so.5 (0x00007f979ff62000)
        libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0x00007f979fed2000)
        libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00007f979fc00000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007f979f9b0000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007f979f6c7000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007f979f494000)
        libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x00007f979f48e000)
        libnssutil3.so => /usr/lib/libnssutil3.so (0x00007f979f45b000)
        libplds4.so => /usr/lib/libplds4.so (0x00007f979f456000)
        libplc4.so => /usr/lib/libplc4.so (0x00007f979f44d000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f979f448000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f979f43e000)
        libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007f979f3a6000)
        liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f979f180000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f979f05b000)
        libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f979f036000)
        libunistring.so.2 => /usr/lib/libunistring.so.2 (0x00007f979ecb6000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007f979eaa9000)
        libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0x00007f979eaa2000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f979ea87000)
        libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f979e815000)

Also file sizes differ:

[haawda at frege bin]$ ls -l pdftex
-rwxr-xr-x 1 haawda haawda 914328  2. Nov 00:29 pdftex
[haawda at frege bin]$ ls -l $(which pdftex)
-rwxr-xr-x 1 root root 2175808 20. Sep 00:51 /usr/local/texlive/2018/bin/x86_64-linux/pdftex

So the issue indeed should be reported on Arch Linux bugtracker

Best Regards

Stefan Husmann

More information about the tex-live mailing list