Re: upgrade issue 8.x to 9.0-RC2: libz.so.5 not found

看板FB_current作者時間14年前 (2011/11/29 17:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/6 (看更多)
On Tue, Nov 29, 2011 at 12:54:33AM -0800, Garrett Cooper wrote: > On Tue, Nov 29, 2011 at 12:49 AM, Johan Hendriks <joh.hendriks@gmail.com> wrote: > > allan@stokes.ca schreef: > >> > >> However, programs such as startx and portupgrade are failing with the > >> message "libz.so.5 not found". 啱 know I can fix this with an evil > >> symlink, but that doesn't seem right, and what else is broken? 啱s there > >> not a facility in portupgrade to scan my live dependencies and warn me of > >> breakage? 啱 have not encountered such a beast in my gleanings to date. > > > > What you probably did is make delete-old-libs. > > This deletes the old 8.x libs that where used by your ports. > > What you need to do is rebuild all your ports. > > > > That way they get linked to the proper libs again. > > > > The next time when you go from one major to another major number eg from 7 > > to 8 or from 8 to 9 and so on, is to do the make delete-old-libs step later. > > Then after upgrading, rebuild all your ports, they still work with the old > > libs. > > Once the ports are rebuild against the newer libs then do the make > > delete-old-libs step. > > > > This is not nessacery when going from a minor number to amother minor > > number. eg from 8.1 to 8.2 and so on. > > In general yes.. but there have been occasions when this was > required with libz... I use sisutils/libchk: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/make-delete-old.html -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1ErAQL82 (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1ErAQL82 (FB_current)