From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 15 Sep 2008 14:05:27 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20080915100527.GC11884@wo.int.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> <20080911203823.GL6477@altlinux.org> <20080911204809.GM6477@altlinux.org> <20080911205329.GB31868@wo.int.altlinux.org> <20080915071147.GA5223@altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VywGB/WGlW4DM4P8" Content-Disposition: inline In-Reply-To: <20080915071147.GA5223@altlinux.org> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E 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: Mon, 15 Sep 2008 10:05:27 -0000 Archived-At: List-Archive: List-Post: --VywGB/WGlW4DM4P8 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 15, 2008 at 11:11:47AM +0400, Alexey Tourbin wrote: > On Fri, Sep 12, 2008 at 12:53:29AM +0400, Dmitry V. Levin wrote: > > > > =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.filte= r << EOF > > > > 1019 ^.((/lib|/usr/lib)(64)?/[^/]*\.so\.|/etc/ld.so.conf.d/[^/]*= \.conf) > > > > 1020 EOF > > > > 1021 cat > %buildroot%{_var}/lib/rpm/filetriggers/ldconfig.scrip= t << EOF > > > > 1022 #!/bin/sh > > > > 1023 ldconfig -X > > > > 1024 EOF > > > > 1025 chmod 755 %buildroot%{_var}/lib/rpm/filetriggers/ldconfig.s= cript > > >=20 > > > =EB=D3=D4=C1=D4=C9, =D0=D2=C9 =D0=CF=C4=CF=C2=CE=CF=CD =D2=C1=D3=CB= =CC=C1=C4=C5 (=C5=D3=CC=C9 =D3=CF=C4=C5=D2=D6=C1=D4=D8 =D4=D2=C9=C7=C7=C5= =D2 =D7 glibc-core), > > > =D5 =D0=C1=CB=C5=D4=C1 glibc-core =D0=CF=D1=D7=C9=D4=D3=D1 =DA=C1=D7= =C9=D3=C9=CD=CF=D3=D4=D8 =CE=C1 sh (=C1 =D5 sh =D5=D6=C5 =C5=D3=D4=D8 > > > =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=D8 =CE=C1 glibc-core). =F7=D0=D2=CF= =DE=C5=CD, =D4=D2=C9=C7=C7=C5=D2 =CD=CF=D6=CE=CF =CE=C1=D0=C9=D3=C1=D4=D8 = =CE=C1 =F3=C9... > >=20 > > =F7 glibc-core =D5=D6=C5 =C5=D3=D4=D8 =CE=C5=D3=CB=CF=CC=D8=CB=CF =D4= =C1=CB=C9=C8 =D3=CB=D2=C9=D0=D4=CF=D7 =CE=C1 C. > > =E1 =D7=CF=D4 =C5=D3=CC=C9 =D4=C1=CD =D0=CF=D1=D7=C9=D4=D3=D1 =DA=C1=D7= =C9=D3=C9=CD=CF=D3=D4=D8 =CE=C1 @RPMCONFIGDIR@, =D4=CF =C2=D5=C4=C5=D4 =CE= =C5 =CF=DE=C5=CE=D8 > > =DA=C4=CF=D2=CF=D7=CF. >=20 > =F7=CF=D4 =CB=C1=CB =D1 =D3=C5=C2=C5 =D0=D2=C5=C4=D3=D4=C1=D7=CC=D1=C0 = =C2=CF=CC=C5=C5 =C1=CB=CB=D5=D2=C1=D4=CE=D5=C0 =D2=C5=C1=CC=C9=DA=C1=C3=C9= =C0. >=20 > /usr/lib/rpm/0ldconfig.filetrigger > 1 #!/bin/sh > 2=09 > 3 IFS=3D > 4 while read -r f; do > 5 case "$f" in > 6 /lib/lib*/*.so* |\ > 7 /lib64/lib*/*.so* |\ > 8 /usr/lib/lib*/*.so* |\ > 9 /usr/lib64/lib*/*.so* ) > 10 # false positives > 11 continue ;; > 12 /lib/lib*.so |\ > 13 /lib64/lib*.so |\ > 14 /usr/lib/lib*.so |\ > 15 /usr/lib64/lib*.so ) > 16 # maybe soname > 17 if set $f.* && [ -f "$1" ]; then > 18 continue > 19 fi > 20 ;; > 21 /lib/lib*.so.* |\ > 22 /lib64/lib*.so.* |\ > 23 /usr/lib/lib*.so.* |\ > 24 /usr/lib64/lib*.so.* ) > 25 # soname =ED=CF=C7=D5=D4 =D7=CF=DA=CE=C9=CB=CE=D5=D4=D8 (=D2=C1=CE=D8=DB=C5 =C2=D9= =CC=C9) =C4=CF=D0=CF=CC=CE=C9=D4=C5=CC=D8=CE=D9=C5 =CB=C1=D4=C1=CC=CF=C7=C9, =D7=CF=DA=CD=CF=D6=CE=CF =D3=D4=CF=C9=D4 =DA=C1=D0=D5=D3=D4=C9=D4=D8 /usr/l= ib/rpm/dump_ld_config. --=20 ldv --VywGB/WGlW4DM4P8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjOM2YACgkQfKvmrJ41Nh60iQCeNSFqtLecWYhpOtp1GpnYFJ/B NxYAn27Bqqjl36/mFst+7pslL6A30okU =dC2l -----END PGP SIGNATURE----- --VywGB/WGlW4DM4P8--