From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 6 Oct 2010 00:26:19 +0400 From: "Dmitry V. Levin" To: ALT Linux Team development discussions Message-ID: <20101005202619.GA22256@altlinux.org> Mail-Followup-To: ALT Linux Team development discussions References: <20101004193504.GA13540@altlinux.org> <20101004204144.GB13540@altlinux.org> <20101004214037.GD13540@altlinux.org> <4CAA8785.7060609@mmedia2.kemsu.ru> <20101005093544.GB9992@altlinux.org> <4CAAE5EF.3040408@mmedia2.kemsu.ru> <20101005100103.GA28486@altlinux.org> <20101005101717.GF9992@altlinux.org> <20101005130452.GC32438@shutemov.name> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline In-Reply-To: <20101005130452.GC32438@shutemov.name> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] I: rpm 4.0.4-alt98.49, latter rain X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2010 20:26:19 -0000 Archived-At: List-Archive: List-Post: --AqsLC8rIMeq19msA Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 05, 2010 at 04:04:52PM +0300, Kirill A. Shutemov wrote: > On Tue, Oct 05, 2010 at 02:17:17PM +0400, Alexey Tourbin wrote: > > On Tue, Oct 05, 2010 at 02:01:03PM +0400, Dmitry V. Levin wrote: > > > overlinked libraries =CF=DA=CE=C1=DE=C1=C5=D4, =DE=D4=CF ELF c=CC=C9= =CE=CB=CF=D7=C1=CE =D3 =D4=C5=CD, =D3 =DE=C5=CD =CE=C5 =C4=CF=CC=D6=C5=CE. > > > underlinked libraries =CF=DA=CE=C1=DE=C1=C5=D4, =DE=D4=CF ELF =CE=C5 = c=CC=C9=CE=CB=CF=D7=C1=CE =D3 =D4=C5=CD, =D3 =DE=C5=CD =C4=CF=CC=D6=C5=CE. > > >=20 > > > =F3 =D0=C5=D2=D7=D9=CD =CD=D9 =D5=D6=C5 =C4=C1=D7=CE=CF =C2=CF=D2=C5= =CD=D3=D1 =D3 =D0=CF=CD=CF=DD=D8=C0 -Wl,--as-needed, =D0=CF=DC=D4=CF=CD=D5 = =CE=C1=CC=C9=DE=C9=C5 > > > overlinked libraries, =D3=CB=CF=D2=C5=C5 =D7=D3=C5=C7=CF, =D1=D7=CC= =D1=C5=D4=D3=D1 =D3=CC=C5=C4=D3=D4=D7=C9=C5=CD =C9=D3=D0=CF=CC=D8=DA=CF=D7= =C1=CE=C9=D1 > > > -Wl,--no-as-needed. > > >=20 > > > C=CF =D7=D4=CF=D2=D9=CD =CD=D9 =D4=CF=D6=C5 =C4=C1=D7=CE=CF =C2=CF=D2= =C5=CD=D3=D1 =D3 =D0=CF=CD=CF=DD=D8=C0 "%set_verify_elf_method strict". > >=20 > > C =CE=C5=C4=CF=CC=C9=CE=CB=CF=D7=CB=CF=CA =D7=CF=D0=D2=CF=D3 =CE=C5=D3= =CB=CF=CC=D8=CB=CF =D3=CC=CF=D6=CE=C5=C5: verify-elf/ldd =CE=C5 =D2=D5=C7= =C1=C5=D4=D3=D1 > > =CE=C1 =CE=C5=D0=D2=D1=CD=D9=C5 =D4=D2=C1=CE=DA=C9=D4=C9=D7=CE=D9=C5 = =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C9 (=D0=CF =D3=C9=CD=D7=CF=CC=C1=CD), =C5=D3= =CC=C9 =CF=CE=C9 =D2=C1=DA=D2=C5=DB=C1=C0=D4=D3=D1 > > =D0=D2=C9 =DA=C1=C7=D2=D5=DA=CB=C5. =F7 =DC=D4=CF=CD =D7=D3=D1 =D3=CF= =CC=D8. =E9 =D7 =DC=D4=CF=CD =CF=C4=CE=C1 =C9=DA =D0=D2=C5=D4=C5=CE=DA=C9= =CA =CB =D4=D5=CC=DE=C5=CA=CE=D5! > >=20 > > =F1 =D3=C5=CA=DE=C1=D3 =CE=C5 =CD=CF=C7=D5 =D0=D2=C9=C4=D5=CD=C1=D4=D8 = =D4=D2=C9=D7=C9=C1=CC=D8=CE=D9=CA =D0=D2=C9=CD=C5=D2, >=20 > $ cat test.c > #include >=20 > int main() > { > gdk_window_set_cursor(NULL, NULL); > return 0; > } > $ gcc `pkg-config --cflags gtk+-2.0` test.c -o test -lgdk-x11-2.0 > $ objdump -p test |grep NEEDED > NEEDED libgdk-x11-2.0.so.0 > NEEDED libc.so.6 > $ ldd test | wc -l > 41 >=20 > =F7=D9 =D4=C1=CB=CF=C5 =C9=CD=C5=C5=D4=C5 =D7=D7=C9=C4=D5? =EE=C5=D4, =D7 =DC=D4=CF=CD =D0=D2=C9=CD=C5=D2=C5 =D7=D3=A3 =D7 =CE=CF=D2= =CD=C5: $ /usr/lib/rpm/lib.req ./test /lib64/ld-linux-x86-64.so.2 rtld(GNU_HASH) libc.so.6(GLIBC_2.2.5)(64bit) lib.req: WARNING: libgdk-x11-2.0.so.0()(64bit) is not yet set-versioned libgdk-x11-2.0.so.0()(64bit) > > =D7=CF=D4 =CD=C5=CE=C5=C5 =D4=D2=C9=D7=C9=C1=CC=D8=CE=D9=CA > > =D0=D2=C9=CD=C5=D2: > >=20 > > lib.req: WARNING: /usr/lib64/libwx_gtk2u_adv-2.8.so.0.7.0: underlinked = libraries: /usr/lib64/libX11.so.6 > > lib.req: WARNING: /usr/lib64/libwx_gtk2u_core-2.8.so.0.7.0: underlinked= libraries: /usr/lib64/libX11.so.6 > >=20 > > =EB=C1=CB =D4=C1=CB =CD=CF=D6=CE=CF =C2=D9=CC=CF =D3=CC=C9=CE=CB=CF=D7= =C1=D4=D8? > > =F0=D2=CF=C2=CC=C5=CD=D9 =D7 =CB=CF=CE=D3=C5=D2=D7=C1=D4=CF=D2=C9=C9 = =C9=CD=C5=C0=D4=D3=D1. --=20 ldv --AqsLC8rIMeq19msA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkyriesACgkQfKvmrJ41Nh4o1wCfZGIH+AN43EjHL8w5U8RdqHwf IOEAn2qMsaDCHb/vLo5xSxcEzXfMDatH =/hpV -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA--