[Mageia-dev] On binary version references requirements

Funda Wang fundawang at gmail.com
Thu Oct 25 08:20:25 CEST 2012


In /usr/lib/rpm/mageia/find-requires, it reads:

# Weak symbol versions (from glibc).
        (START==2) && (LIBNAME!="") && ($4!="") && (($4~/^GLIBC_*/) ||
($4~/^GCC_*/)) {
             print LIBNAME "(" $4 ")'$lib64'";

That means, we only prints those weak symbols regarding GLIBC and GCC. But why?

$ objdump -x /usr/lib64/libwebkitgtk-1.0.so.0
Version References:
   required from libxml2.so.2:
     0x08f4cab6 0x00 19 LIBXML2_2.6.6
     0x08f4cab0 0x00 16 LIBXML2_2.6.0
     0x0f4c8be0 0x00 15 LIBXML2_2.4.30
   required from libpthread.so.0:
     0x09691a75 0x00 10 GLIBC_2.2.5
   required from libstdc++.so.6:
     0x056bafd3 0x00 18 CXXABI_1.3
     0x02297f89 0x00 17 GLIBCXX_3.4.9
     0x0297f865 0x00 11 GLIBCXX_3.4.15
     0x08922974 0x00 08 GLIBCXX_3.4
   required from libxslt.so.1:
     0x0f5c4bd4 0x00 20 LIBXML2_1.0.24
     0x08f5c3b9 0x00 14 LIBXML2_1.1.9
     0x0f5c4bd2 0x00 12 LIBXML2_1.0.22
     0x0f5c4bc1 0x00 07 LIBXML2_1.0.11
   required from libjpeg.so.8:
     0x04cdfde0 0x00 06 LIBJPEG_8.0
   required from libdl.so.2:
     0x09691a75 0x00 04 GLIBC_2.2.5
   required from libm.so.6:
     0x09691a75 0x00 03 GLIBC_2.2.5
   required from libc.so.6:
     0x0d696918 0x00 23 GLIBC_2.8
     0x06969191 0x00 22 GLIBC_2.11
     0x06969194 0x00 21 GLIBC_2.14
     0x0d696914 0x00 13 GLIBC_2.4
     0x0d696913 0x00 09 GLIBC_2.3
     0x09691a75 0x00 05 GLIBC_2.2.5
     0x09691974 0x00 02 GLIBC_2.3.4

That means, ABI versions regarding LIBXML2* and LIBJPEG* are not
raised when packaging. Fedora is promoting those extra ABI versions
now. I read history on mandriva's repository, but could not find any
relevant information.

Any thoughts to export those requirements?

More information about the Mageia-dev mailing list