From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4508ED63.7090501@altlinux.com> Date: Thu, 14 Sep 2006 09:49:23 +0400 From: Anton Farygin User-Agent: Thunderbird 1.5.0.5 (X11/20060822) MIME-Version: 1.0 To: ALT Devel discussion list References: <4507FDBE.1090903@altlinux.com> <20060913125758.GG2722@basalt.office.altlinux.org> <45080270.5070200@altlinux.com> <20060913131758.GI2722@basalt.office.altlinux.org> <450805D6.2070902@altlinux.com> <20060913134054.GA8247@basalt.office.altlinux.org> <4508149D.2050008@altlinux.com> <20060913144456.GA9878@basalt.office.altlinux.org> <45081FA2.5020905@altlinux.com> <20060913162049.GD10944@basalt.office.altlinux.org> In-Reply-To: <20060913162049.GD10944@basalt.office.altlinux.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [devel] verify-elf X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 05:55:27 -0000 Archived-At: List-Archive: List-Post: 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