Hi,
I've got an interrogation on .so file !
I'm compiling the 0.9.8r file of openssl using the config command with
those "threads shared zlib-dynamic" options ... All is going fine :-)
My question is :
Why i'm not finding the version in the openssl/lib/libcrypto.so.0.9.8
when i'm using the command : #objdump -p openssl/lib/libcrypto.so.0.9.8 ?
My objdump -p result :
openssl/lib/libcrypto.so.0.9.8: file format elf64-x86-64
Dynamic Section:
NEEDED libdl.so.2
NEEDED libc.so.6
SONAME libcrypto.so.0.9.8
SYMBOLIC 0x0000000000000000
INIT 0x0000000000069a68
FINI 0x000000000011f428
HASH 0x00000000000001b8
GNU_HASH 0x00000000000056c0
STRTAB 0x000000000001f7a8
SYMTAB 0x000000000000ba38
STRSZ 0x000000000000f4ff
SYMENT 0x0000000000000018
PLTGOT 0x000000000036caa0
PLTRELSZ 0x00000000000008e8
PLTREL 0x0000000000000007
JMPREL 0x0000000000069180
RELA 0x0000000000030780
RELASZ 0x0000000000038a00
RELAENT 0x0000000000000018
VERNEED 0x0000000000030720
VERNEEDNUM 0x0000000000000002
VERSYM 0x000000000002eca8
RELACOUNT 0x00000000000025b5
Version References:
required from libdl.so.2:
0x09691a75 0x00 05 GLIBC_2.2.5
required from libc.so.6:
0x0d696913 0x00 04 GLIBC_2.3
0x0d696917 0x00 03 GLIBC_2.7
0x09691a75 0x00 02 GLIBC_2.2.5
When i executin an objdump -p on the libcrypto.so.0.9.8 of my
distribution i have this :
openssl/lib/libcrypto.so.0.9.8: file format elf64-x86-64
Program Header:
LOAD off 0x0000000000000000 vaddr 0x0000000000000000 paddr
0x0000000000000000 align 2**21
filesz 0x0000000000174aac memsz 0x0000000000174aac flags r-x
LOAD off 0x0000000000175000 vaddr 0x0000000000375000 paddr
0x0000000000375000 align 2**21
filesz 0x0000000000027e28 memsz 0x000000000002b898 flags rw-
DYNAMIC off 0x0000000000180fa8 vaddr 0x0000000000380fa8 paddr
0x0000000000380fa8 align 2**3
filesz 0x00000000000001e0 memsz 0x00000000000001e0 flags rw-
NOTE off 0x0000000000000190 vaddr 0x0000000000000190 paddr
0x0000000000000190 align 2**2
filesz 0x0000000000000024 memsz 0x0000000000000024 flags r--
EH_FRAME off 0x000000000015315c vaddr 0x000000000015315c paddr
0x000000000015315c align 2**2
filesz 0x0000000000007304 memsz 0x0000000000007304 flags r--
STACK off 0x0000000000000000 vaddr 0x0000000000000000 paddr
0x0000000000000000 align 2**3
filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-
Dynamic Section:
NEEDED libdl.so.2
NEEDED libz.so.1
NEEDED libc.so.6
SONAME libcrypto.so.0.9.8
INIT 0x0000000000073e38
FINI 0x0000000000132e48
HASH 0x00000000000001b8
GNU_HASH 0x0000000000005748
STRTAB 0x000000000001fbc8
SYMTAB 0x000000000000bb28
STRSZ 0x000000000000f6cb
SYMENT 0x0000000000000018
PLTGOT 0x00000000003819d8
PLTRELSZ 0x000000000000a230
PLTREL 0x0000000000000007
JMPREL 0x0000000000069c08
RELA 0x0000000000030de8
RELASZ 0x0000000000038e20
RELAENT 0x0000000000000018
VERDEF 0x0000000000030d50
VERDEFNUM 0x0000000000000002
VERNEED 0x0000000000030d88
VERNEEDNUM 0x0000000000000002
VERSYM 0x000000000002f294
RELACOUNT 0x000000000000225e
Version definitions:
1 0x01 0x0745b558 libcrypto.so.0.9.8
2 0x00 0x06692428 OPENSSL_0.9.8
Version References:
required from libdl.so.2:
0x09691a75 0x00 06 GLIBC_2.2.5
required from libc.so.6:
0x0d696913 0x00 05 GLIBC_2.3
0x0d696917 0x00 04 GLIBC_2.7
0x09691a75 0x00 03 GLIBC_2.2.5
As you can see there an "Version definitions" section that i don't have :
Version definitions:
1 0x01 0x0745b558 libcrypto.so.0.9.8
2 0x00 0x06692428 OPENSSL_0.9.8
How can i tell the configure to add the necessary option to the linker
for obtaining this "Version References" Section ???
That's the same for the openssl/lib/libssl.so.0.9.8 :-(
Thanks in advance for your answer,
Gérald.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majord...@openssl.org