Re: Compile source using a specific OpenSSL version

From: Thomas Leuxner <tlx_at_leuxner.net>
Date: Sun, 6 Dec 2015 20:14:55 +0100

* Quanah Gibson-Mount <quanah_at_zimbra.com> 2015.12.06 19:42:

> What is the output of readelf -d on your binary

Both point to the newer version:

$ readelf -d opendkim

Dynamic section at offset 0x34d08 contains 42 entries:
  Tag Type Name/Value
 0x0000000000000001 (NEEDED) Shared library: [libopendkim.so.10]
 0x0000000000000001 (NEEDED) Shared library: [libmilter.so.1.0.1]
 0x0000000000000001 (NEEDED) Shared library: [libssl.so.1.0.2]
 0x0000000000000001 (NEEDED) Shared library: [libcrypto.so.1.0.2]
 0x0000000000000001 (NEEDED) Shared library: [libresolv.so.2]
 0x0000000000000001 (NEEDED) Shared library: [libdb-5.3.so]
 0x0000000000000001 (NEEDED) Shared library: [libopendbx.so.1]
 0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED) Shared library: [libmemcached.so.11]
 0x0000000000000001 (NEEDED) Shared library: [libmemcachedutil.so.2]
 0x0000000000000001 (NEEDED) Shared library: [liblua5.1.so.0]
 0x0000000000000001 (NEEDED) Shared library: [libldap_r-2.4.so.2]
 0x0000000000000001 (NEEDED) Shared library: [liblber-2.4.so.2]
 0x0000000000000001 (NEEDED) Shared library: [libunbound.so.2]
 0x0000000000000001 (NEEDED) Shared library: [libvbr.so.2]
 0x0000000000000001 (NEEDED) Shared library: [librbl.so.1]
 0x0000000000000001 (NEEDED) Shared library: [libbsd.so.0]
 0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
 0x000000000000000c (INIT) 0x406020
 0x000000000000000d (FINI) 0x428cd4
 0x0000000000000019 (INIT_ARRAY) 0x634cf0
 0x000000000000001b (INIT_ARRAYSZ) 8 (bytes)
 0x000000000000001a (FINI_ARRAY) 0x634cf8
 0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
 0x000000006ffffef5 (GNU_HASH) 0x400298
 0x0000000000000005 (STRTAB) 0x402530
 0x0000000000000006 (SYMTAB) 0x4002f8
 0x000000000000000a (STRSZ) 5404 (bytes)
 0x000000000000000b (SYMENT) 24 (bytes)
 0x0000000000000015 (DEBUG) 0x0
 0x0000000000000003 (PLTGOT) 0x635000
 0x0000000000000002 (PLTRELSZ) 8352 (bytes)
 0x0000000000000014 (PLTREL) RELA
 0x0000000000000017 (JMPREL) 0x403f80
 0x0000000000000007 (RELA) 0x403ea8
 0x0000000000000008 (RELASZ) 216 (bytes)
 0x0000000000000009 (RELAENT) 24 (bytes)
 0x000000006ffffffe (VERNEED) 0x403d28
 0x000000006fffffff (VERNEEDNUM) 9
 0x000000006ffffff0 (VERSYM) 0x403a4c
 0x0000000000000000 (NULL) 0x0

$ readelf -d libopendkim.so.10

Dynamic section at offset 0x1cdb0 contains 30 entries:
  Tag Type Name/Value
 0x0000000000000001 (NEEDED) Shared library: [libssl.so.1.0.2]
 0x0000000000000001 (NEEDED) Shared library: [libcrypto.so.1.0.2]
 0x0000000000000001 (NEEDED) Shared library: [libresolv.so.2]
 0x0000000000000001 (NEEDED) Shared library: [libdb-5.3.so]
 0x0000000000000001 (NEEDED) Shared library: [libbsd.so.0]
 0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
 0x000000000000000e (SONAME) Library soname: [libopendkim.so.10]
 0x000000000000000c (INIT) 0x3bc0
 0x000000000000000d (FINI) 0x16954
 0x0000000000000019 (INIT_ARRAY) 0x21cd98
 0x000000000000001b (INIT_ARRAYSZ) 8 (bytes)
 0x000000000000001a (FINI_ARRAY) 0x21cda0
 0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
 0x000000006ffffef5 (GNU_HASH) 0x1f0
 0x0000000000000005 (STRTAB) 0x1720
 0x0000000000000006 (SYMTAB) 0x598
 0x000000000000000a (STRSZ) 2992 (bytes)
 0x000000000000000b (SYMENT) 24 (bytes)
 0x0000000000000003 (PLTGOT) 0x21d000
 0x0000000000000002 (PLTRELSZ) 2448 (bytes)
 0x0000000000000014 (PLTREL) RELA
 0x0000000000000017 (JMPREL) 0x3230
 0x0000000000000007 (RELA) 0x2528
 0x0000000000000008 (RELASZ) 3336 (bytes)
 0x0000000000000009 (RELAENT) 24 (bytes)
 0x000000006ffffffe (VERNEED) 0x2448
 0x000000006fffffff (VERNEEDNUM) 5
 0x000000006ffffff0 (VERSYM) 0x22d0
 0x000000006ffffff9 (RELACOUNT) 134
 0x0000000000000000 (NULL) 0x0



Received on Sun Dec 06 2015 - 19:15:08 PST

This archive was generated by hypermail 2.3.0 : Sun Dec 06 2015 - 19:27:01 PST