Date: Sun, 12 May 2013 06:35:24 -0500 From: Bryan Drewery <bdrewery@FreeBSD.org> To: "Mikhail T." <mi+thun@aldan.algebra.com> Cc: office@freebsd.org Subject: Re: portupgrade and ICU libraries Message-ID: <518F7E7C.9040601@FreeBSD.org> In-Reply-To: <518D569F.50404@aldan.algebra.com> References: <518D569F.50404@aldan.algebra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2CLCHJOTNDHSGKMEPXIFF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 5/10/2013 3:20 PM, Mikhail T. wrote: > Gentlemen! >=20 > Every time I do an upgrade, I get bitten by the same problem -- all of > the software linked with libraries installed by devel/icu stops working= =2E >=20 > Today I finally understood why... Although portupgrade duly backs up th= e > old libraries under lib/compat/pkg, it only preserves the files (such a= s > libicutu.so.48.1.1), and not the symbolic links (such as libicutu.so.48= ). >=20 This seems backwards. The .so.VERSION is copied in for me: > lrwxr-xr-x 1 root wheel 18 Jan 31 15:27 /usr/local/lib/libicuio.s= o@ -> libicuio.so.50.1.2 > lrwxr-xr-x 1 root wheel 18 Jan 31 15:27 /usr/local/lib/libicuio.s= o.50@ -> libicuio.so.50.1.2 > -r-xr-xr-x 1 root wheel 41916 Jan 31 15:27 /usr/local/lib/libicuio.s= o.50.1.2* =2E.. > -r--r--r-- 1 root wheel 45894 Apr 27 2010 /usr/local/lib/compat/pkg= /libicuio.so.38 > -r-xr-xr-x 1 root wheel 41080 May 7 2012 /usr/local/lib/compat/pkg= /libicuio.so.48* It is the .VERSION.MAJOR.MINOR that is symlinked and not copied in. These symlinks do not show in `ldconfig -r` either so they are not going to be copied by portmaster either > # ldconfig -r|grep libicuio > 238:-licuio.50 =3D> /usr/local/lib/libicuio.so.50 > 370:-licuio.48 =3D> /usr/local/lib/compat/pkg/libicuio.so.48 PKGNG also tracks shared libraries to detect reinstalls, but not the symlinks: > # pkg check -B icu; pkg info -R icu| grep shlibs > shlibs: [libicuuc.so.50, libicutu.so.50, libicule.so.50, libicui18n.so.= 50, libicudata.so.50] --=20 Regards, Bryan Drewery ------enig2CLCHJOTNDHSGKMEPXIFF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJRj36BAAoJEG54KsA8mwz5JzEQAJm8kTOfnKvfwArgJ7vhZyDt cbRUjQJ3QN5hT1so+/6yrSDS1nUDA290rFFt7P5jPv1pIcrR7p/heMOHlttB5WV6 rgeVtEuqw3k5RFf2Dt7AeU0YyhgFSe1N/pSsHYVBFcoSMGcQHiTM99yQ9Uz+oHLv aDYOMt1i+tc/xQaigyaWUCW1VJx2aCXLDnOqZryr1pmjLnbUsp37yybhSZIMUAwV 7wWaNq7OjIifl+/NQ3U7HYs9Cnsq2+yJAmHY2o3iX3zdO8yVlts+prcxF+YrJ7gh jMQ/sLsMPjFaB7uc8JmNrKI4J9xq0xo/SFLACzYFr3E44vbMpgdLyiVpfpiGVGgf SqS4eXQ4IRH1UIjk5cyIqtAlSq5Dj5W4n1XnuYzfw0xceisW/V1Y9MT/qzjIy7QW 49mPWeBhAptJTIgLpiKdxb9cA+enXWSY7V/BcFOEgEOJTlXWuNXPq5q6uDfWMIGu ETCDOFU6Hyt7NiwoS/vz0cAQffPVVtusOnKKEzJxEWGBDsTyCxPZonf/k1/kkBea PRErV/sjb2myiYofploD6v+SU8e11zXtN4EuDxdVH1aQVwH63tFOdouwdIT73/3d TktsWU0PBAXsDVyW2zy7lhVwG4woSc9JjmKd7IeZfScumYxxwnhiYpxkwt6/dcc6 Vu53U9A4YNRao48MgRyj =53si -----END PGP SIGNATURE----- ------enig2CLCHJOTNDHSGKMEPXIFF--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?518F7E7C.9040601>