From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 12 Sep 2008 00:38:23 +0400 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20080911203823.GL6477@altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20080908095106.GS6477@altlinux.org> <20080908134958.GA18364@wo.int.altlinux.org> <20080911192542.GJ6477@altlinux.org> <20080911195800.GA16087@wo.int.altlinux.org> <20080911201642.GK6477@altlinux.org> <20080911202012.GC16087@wo.int.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uezWbACgApK292Ml" Content-Disposition: inline In-Reply-To: <20080911202012.GC16087@wo.int.altlinux.org> Subject: Re: [devel] /etc/ld.so.cache X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 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: Thu, 11 Sep 2008 20:38:24 -0000 Archived-At: List-Archive: List-Post: --uezWbACgApK292Ml Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 12, 2008 at 12:20:12AM +0400, Dmitry V. Levin wrote: > > > > =EB=D3=D4=C1=D4=C9, =D7=CF=DA=CD=CF=D6=CE=CF, =C9=CD=C5=C5=D4 =CC= =C9 =D3=CD=D9=D3=CC =C9=D3=D0=CF=CC=D8=DA=CF=D7=C1=D4=D8 'ldconfig -X'. > > > > =F0=C5=D2=C5=D3=D4=C1=CE=CF=D7=CB=C1 =D3=C9=CD=CC=C9=CE=CB=CF=D7 (= =D0=CF =CF=D4=CE=CF=DB=C5=CE=C9=C0 =CB rpm =D0=C1=CB=C5=D4=C1=CD) -- =CF=DE= =C5=CE=D8 > > > > =D3=CF=CD=CE=C9=D4=C5=CC=D8=CE=C1=D1 =C6=C9=DE=C1 (=C9 =CF=CE=C1 = =C4=C1=A3=D4 =D0=D2=CF=C2=CC=C5=CD=D5 =D7 %post_ldconfig =D0=D2=C9 > > > > =C4=C1=D5=CE=C7=D2=C5=CA=C4=C5 =C2=C9=C2=CC=C9=CF=D4=C5=CB). > > >=20 > > > =FC=D4=CF =CF=C2=DF=C5=DA=C4 =C4=CC=D1 =D0=C1=CB=C5=D4=CF=D7, =D7 =CB= =CF=D4=CF=D2=D9=C8 =DA=C1=C2=D9=CC=C9 =D5=D0=C1=CB=CF=D7=C1=D4=D8 =DC=D4=C9= =D3=D3=D9=CC=CB=C9. > >=20 > > =E1 =C5=D3=D4=D8 =CC=C9 =D4=C1=CB=C9=C5 =D0=C1=CB=C5=D4=D9? =F7=C5=C4= =D8 lib.prov =D7=D9=D3=D4=C1=D7=CC=D1=C5=D4 provides =CE=C1 soname > > =D4=CF=CC=D8=CB=CF =D7 =D4=CF=CD =D3=CC=D5=DE=C1=C5, =C5=D3=CC=C9 =C9= =CD=D1 =C6=C1=CA=CC=C1/=D3=C9=CD=CC=C9=CE=CB=C1 =D3=CF=D7=D0=C1=C4=C1=C5=D4= =D3 =CE=C1=DA=D7=C1=CE=C9=C5=CD > > =D3=CF=CE=C5=CA=CD=C1. >=20 > =FC=D4=CF=D4 =CF=C2=DF=C5=DA=C4 =C7=CF=D2=C1=DA=C4=CF =D3=D4=C1=D2=DB=C5 = lib.prov =F0=CF=CE=D1=D4=CE=CF. > > $ /usr/lib/rpm/lib.prov -vv /lib64/libglib-2.0.so.0* > > lib.prov: processing /lib64/libglib-2.0.so.0 > > libglib-2.0.so.0()(64bit) > > libglib-2.0.so.0(GLIB_2.8)(64bit) > > libglib-2.0.so.0(GLIB_2.10)(64bit) > > libglib-2.0.so.0(GLIB_2.12)(64bit) > > libglib-2.0.so.0(GLIB_2.14)(64bit) > > libglib-2.0.so.0(GLIB_2.15.6)(64bit) > > lib.prov: processing /lib64/libglib-2.0.so.0.1600.5 > > $=20 > >=20 > > =E5=D3=CC=C9 =C2=D9 =CD=D9 =DA=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8 =C9 =D3=C4=C5= =CC=C1=D4=D8 posttrans trigger. =EB=D3=D4=C1=D4=C9, =D4=C1=CD =D5=D6=C5 =CD=CF=D6=CE=CF =D7=D9=DA=D9=D7=C1=D4=D8 ldconfig =C9 = =C2=C5=DA =CF=D0=C3=C9=C9 -X, =D0=CF=D4=CF=CD=D5 =DE=D4=CF =D0=D2=C9 =CF=CB= =CF=CE=DE=C1=CE=C9=C9 =D4=D2=C1=CE=DA=C1=CB=C3=C9=C9 =D0=D2=CF=C2=CC=C5=CD=D9 =C4=C1=D5=CE=C7=D2= =C5=CA=C4=C1 =C2=C9=C2=CC=C9=CF=D4=C5=CB =CE=C5 =D3=D5=DD=C5=D3=D4=D7=D5=C5= =D4 (=D3=D4=C1=D2=D9=C5 =C6=C1=CA=CC=D9 =D0=CF=CC=CE=CF=D3=D4=D8=C0 =D5=C4=C1=CC=C5=CE=D9). =F4=C1=CB =DE=D4=CF = =C4=C1=D6=C5 =CD=CF=D6=CE=CF =CF=C2=D3=CC=D5=D6=C9=D4=D8 =C9 =CC=C5=D7=D9= =C5 =D0=C1=CB=C5=D4=D9. =EB=D3=D4=C1=D4=C9, =D7=CF=D4 =CB=C1=CB =DC=D4=CF =D3=C4=C5=CC=C1=CE=CF =D7= =ED=C1=CE=C4=D2=C9=D7=C5 (glibc-2.8-1.20080520.5mnb2.src.rpm), glibc.spec: 1015 # automatic ldconfig cache update on rpm installs/removals 1016 # (see http://wiki.mandriva.com/en/Rpm_filetriggers) 1017 install -d %buildroot%{_var}/lib/rpm/filetriggers 1018 cat > %buildroot%{_var}/lib/rpm/filetriggers/ldconfig.filter << EOF 1019 ^.((/lib|/usr/lib)(64)?/[^/]*\.so\.|/etc/ld.so.conf.d/[^/]*\.conf) 1020 EOF 1021 cat > %buildroot%{_var}/lib/rpm/filetriggers/ldconfig.script << EOF 1022 #!/bin/sh 1023 ldconfig -X 1024 EOF 1025 chmod 755 %buildroot%{_var}/lib/rpm/filetriggers/ldconfig.script =EB=D2=C9=D7=CF=D7=C1=D4=CF, =CB=CF=CE=C5=DE=CE=CF (=CB=C1=CB =C9 =CD=CE=CF= =C7=CF=C5 =D7 =ED=C1=CE=C4=D2=C9=D7=C5), =CD=CF=D6=CE=CF =D3=C4=C5=CC=C1=D4= =D8 =DE=D5=D4=D8 =CC=D5=DE=DB=C5. =F7 =C9=C4=C5=C1=CC=C5, =CB=CF=CE=C5=DE=CE=CF, =CE=D5=D6=C5=CE =D4=D2=C9=C7= =C7=C5=D2 =CE=C5 =D0=CF =C6=C1=CA=CC=C1=CD, =C1 =D0=CF provides. =EB=D3=D4=C1=D4=C9, =D7=CF=D4 =DE=C5=CD =CD=CE=C5 =CE=C5 =D0=CF=CE=D2=C1=D7= =C9=CC=D3=D1 =C9=CD=C5=CE=CE=CF =D4=C1=CB=CF=CA =D0=CF=C4=C8=CF=C4 =CB =D2= =C5=C1=CC=C9=DA=C1=C3=C9=C9. =F3 =CF=C4=CE=CF=CA =D3=D4=CF=D2=CF=CE=D9, =CF=CE=C9 =D7=C4=C5=CC=D9=D7=C1= =C0=D4 regcomp() =D7 librpm, =D0=CF-=D7=C9=C4=C9=CD=CF=CD=D5, =DE=D4=CF=C2= =D9 =C9=DA=C2=C5=D6=C1=D4=D8 =CC=C9=DB=CE=C9=C8 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4= =C5=CA =CE=C1 =D5=D2=CF=D7=CE=C5 exec (=D7=CE=D5=D4=D2=C5=CE=CE=C9=CA glob+= grep =D3=C9=C4=C9=D4 =D7 librpm). C =C4=D2=D5=C7=CF=CA =D3=D4=CF=D2=CF=CE=D9, =C9=CD =CE=C5 =D5= =C4=C1=A3=D4=D3=D1 =CF=D4=CB=C1=DA=C1=D4=D8=D3=D1 =CF=D4 /bin/sh =C4=C1=D6= =C5 =C4=CC=D1 ldconfig. --uezWbACgApK292Ml Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjJgb8ACgkQfBKgtDjnu0bI3gCggS2/LcRKOLlutgGWuYIQJm81 KpoAoNblo7hneod8MpVtE0NHGbFV/Ik3 =QgNh -----END PGP SIGNATURE----- --uezWbACgApK292Ml--