[tex-live] dvipdfmx on CentOS 5.6 (glibc 2.5)

Karen Ellrick osakawebbie at gmail.com
Wed Apr 18 05:27:14 CEST 2012


> We once had a discussion on tlbuild how to *actually* determine which
> libs are loaded by inspecting the ELF header, not using ldd.
> Maybe someting like
> 	readelf -a dvipdfmx | grep -i "shared library"
> or also
> 	readelf --version-info  dvipdfmx
> ?
Here are the results of those two commands on my system, using the 
x86_64-linux version of dvipdfmx:

    [root at vps-1011517-5697 ~]# cd /usr/local/texlive/2011/bin/x86_64-linux
    [root at vps-1011517-5697 x86_64-linux]# readelf -a dvipdfmx | grep -i
    "shared library"
      0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
      0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
    [root at vps-1011517-5697 x86_64-linux]# readelf --version-info  dvipdfmx

    Version symbols section '.gnu.version' contains 101 entries:
      Addr: 0000000000401224  Offset: 0x001224  Link: 6 (.dynsym)
       000:   0 (*local*)       2 (GLIBC_2.3)     3 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       004:   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       008:   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       00c:   3 (GLIBC_2.2.5)   4 (GLIBC_2.7)     5 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       010:   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       014:   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       018:   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       01c:   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   5 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       020:   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       024:   3 (GLIBC_2.2.5)   5 (GLIBC_2.2.5)   5 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       028:   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       02c:   5 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       030:   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   5 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       034:   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       038:   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   0
    (*local*)
       03c:   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       040:   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   5
    (GLIBC_2.2.5)
       044:   4 (GLIBC_2.7)     3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       048:   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       04c:   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       050:   0 (*local*)       3 (GLIBC_2.2.5)   5 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       054:   5 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       058:   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   5 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       05c:   5 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       060:   3 (GLIBC_2.2.5)   2 (GLIBC_2.3)     3 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       064:   3 (GLIBC_2.2.5)

    Version needs section '.gnu.version_r' contains 2 entries:
      Addr: 0x00000000004012f0  Offset: 0x0012f0  Link to section: 7
    (.dynstr)
       000000: Version: 1  File: libm.so.6  Cnt: 1
       0x0010:   Name: GLIBC_2.2.5  Flags: none  Version: 5
       0x0020: Version: 1  File: libc.so.6  Cnt: 3
       0x0030:   Name: GLIBC_2.7  Flags: none  Version: 4
       0x0040:   Name: GLIBC_2.2.5  Flags: none  Version: 3
       0x0050:   Name: GLIBC_2.3  Flags: none  Version: 2

But that looks like it's saying which libs dvipdfmx would try to use, 
rather than which version the OS has to offer (which was what I was 
using ldd to tell me).  For comparison, here is what "readelf 
--version-info  dvipdfmx" does with the version I compiled on my system:

    [root at vps-1011517-5697 x86_64-unknown-linux-gnu]# readelf
    --version-info  dvipdfmx

    Version symbols section '.gnu.version' contains 98 entries:
      Addr: 0000000000400e92  Offset: 0x000e92  Link: 4 (.dynsym)
       000:   0 (*local*)       2 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   2
    (GLIBC_2.2.5)
       004:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       008:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   0
    (*local*)
       00c:   0 (*local*)       2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2
    (GLIBC_2.2.5)
       010:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2
    (GLIBC_2.2.5)
       014:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2
    (GLIBC_2.2.5)
       018:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   2
    (GLIBC_2.2.5)
       01c:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   4 (GLIBC_2.3)     2
    (GLIBC_2.2.5)
       020:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2
    (GLIBC_2.2.5)
       024:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   4 (GLIBC_2.3)     2
    (GLIBC_2.2.5)
       028:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2
    (GLIBC_2.2.5)
       02c:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       030:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2
    (GLIBC_2.2.5)
       034:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2
    (GLIBC_2.2.5)
       038:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2
    (GLIBC_2.2.5)
       03c:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2
    (GLIBC_2.2.5)
       040:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2
    (GLIBC_2.2.5)
       044:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2
    (GLIBC_2.2.5)
       048:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2
    (GLIBC_2.2.5)
       04c:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       050:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   3 (GLIBC_2.2.5)   2
    (GLIBC_2.2.5)
       054:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2
    (GLIBC_2.2.5)
       058:   3 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   3
    (GLIBC_2.2.5)
       05c:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2
    (GLIBC_2.2.5)
       060:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)

    Version needs section '.gnu.version_r' contains 2 entries:
      Addr: 0x0000000000400f58  Offset: 0x000f58  Link to section: 5
    (.dynstr)
       000000: Version: 1  File: libm.so.6  Cnt: 1
       0x0010:   Name: GLIBC_2.2.5  Flags: none  Version: 3
       0x0020: Version: 1  File: libc.so.6  Cnt: 2
       0x0030:   Name: GLIBC_2.3  Flags: none  Version: 4
       0x0040:   Name: GLIBC_2.2.5  Flags: none  Version: 2

No demand for 2.7, or even anything above 2.3.  Since my system has 2.5, 
that works fine.

Anyway, I hope that helps.
Karen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20120418/c7d01c2c/attachment.html>


More information about the tex-live mailing list