Date: Tue, 25 Mar 2008 11:31:17 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/freebsd-update freebsd-update.sh Message-ID: <200803251131.m2PBVHcC052951@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cperciva 2008-03-25 11:31:16 UTC
FreeBSD src repository
Modified files:
usr.sbin/freebsd-update freebsd-update.sh
Log:
Adjust recognize-shared-libraries regex to avoid matching symlinks to
shared libraries.
This fixes a problem which resulted in 6.x->7.x upgrades having the
/usr/lib/libpthread.so -> libthr.so symlink missing; what happened was
that the old libpthread.so symlink pointed to /lib/libpthread.so.2 --
which matched the "/lib/*\.so\.[0-9]+" regex -- but the new symlink
didn't, so FreeBSD Update got confused and deleted the symlink as part
of its "remove old shared libraries" step.
To recreate the symlink (which I understand is necessary for ports like
KDE to build) on a 7.x system which FreeBSD Update upgraded from 6.x:
# ln -s libthr.so /usr/lib/libpthread.so
Reported by: Dmitry RCL Rekman
Help diagnosing bug from: kris
MFC after: 7 days
Revision Changes Path
1.14 +14 -14 src/usr.sbin/freebsd-update/freebsd-update.sh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803251131.m2PBVHcC052951>
