[devel] verify-elf

Anton Farygin =?iso-8859-1?q?rider_=CE=C1_altlinux=2Ecom?=
Чт Сен 14 09:49:23 MSD 2006


Dmitry V. Levin wrote:
> On Wed, Sep 13, 2006 at 07:11:30PM +0400, Anton Farygin wrote:
> [...]
>> /lib64/ld-linux-x86-64.so.2 --library-path 
>> /home/rider/git.alt/curl/TMP/curl-buildroot/usr/lib64:/home/rider/git.alt/curl/TMP/curl-buildroot/lib64:/home/rider/git.alt/curl/TMP/curl-buildroot/usr/lib64:/home/rider/git.alt/curl/TMP/curl-buildroot/usr/X11R6/lib64 
>> ./usr/bin/curl
>>          libcurl.so.3 => /usr/lib64/libcurl.so.3 (0x00002b5081dc3000)
>>          libz.so.1 => /lib64/libz.so.1 (0x00002b5081f16000)
>>          libc.so.6 => /lib64/libc.so.6 (0x00002b508202b000)
>>          libidn.so.11 => /usr/lib64/libidn.so.11 (0x00002b5082251000)
>>          libssl.so.4 => /lib64/libssl.so.4 (0x00002b5082483000)
>>          libcrypto.so.4 => /lib64/libcrypto.so.4 (0x00002b50826ba000)
>>          libdl.so.2 => /lib64/libdl.so.2 (0x00002b50829fc000)
>>          /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
>> undefined symbol: curl_easy_escape      (./usr/bin/curl)
>>
>>
>> Т.е. - он то знает, а вот
>> /lib64/ld-linux-x86-64.so.2 почему-то это всё игнорирует ;(
> 
> Причина, скорее всего, внутри ./usr/bin/curl; покажи мне, пожалуйста,
> вывод от
> readelf -d /home/rider/git.alt/curl/TMP/curl-buildroot/usr/bin/curl
> ?

$ readelf -d /home/rider/git.alt/curl/TMP/curl-buildroot/usr/bin/curl

Dynamic section at offset 0x16458 contains 23 entries:
   Tag        Type                         Name/Value
  0x0000000000000001 (NEEDED)             Shared library: [libcurl.so.3]
  0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
  0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
  0x000000000000000f (RPATH)              Library rpath: [/usr/lib64]
  0x000000000000000c (INIT)               0x401c38
  0x000000000000000d (FINI)               0x409088
  0x0000000000000004 (HASH)               0x400240
  0x0000000000000005 (STRTAB)             0x400f48
  0x0000000000000006 (SYMTAB)             0x400648
  0x000000000000000a (STRSZ)              1027 (bytes)
  0x000000000000000b (SYMENT)             24 (bytes)
  0x0000000000000015 (DEBUG)              0x0
  0x0000000000000003 (PLTGOT)             0x616620
  0x0000000000000002 (PLTRELSZ)           1944 (bytes)
  0x0000000000000014 (PLTREL)             RELA
  0x0000000000000017 (JMPREL)             0x4014a0
  0x0000000000000007 (RELA)               0x401440
  0x0000000000000008 (RELASZ)             96 (bytes)
  0x0000000000000009 (RELAENT)            24 (bytes)
  0x000000006ffffffe (VERNEED)            0x401410
  0x000000006fffffff (VERNEEDNUM)         1
  0x000000006ffffff0 (VERSYM)             0x40134c
  0x0000000000000000 (NULL)               0x0



Подробная информация о списке рассылки Devel