Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Feb 2008 16:10:49 +0200
From:      "Noisex" <noisex@apollo.lv>
To:        <freebsd-performance@freebsd.org>
Subject:   Upgrade from 6.3 to 7.0: Result ->Shared object not found :)
Message-ID:  <01ce01c87adc$e2796720$a76c3560$@lv>
In-Reply-To: <47C6991E.1050502@FreeBSD.org>
References:  <BMEDLGAENEKCJFGODFOCIEGKCFAA.tedm@toybox.placo.com>	<47C59591.6040600@errno.com>	<d763ac660802271746l229c1e1hca44db5438e142e9@mail.gmail.com> <47C6991E.1050502@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi! The first of all i want felicitate FreeBSD development team and all FBSD
community with 7.0 come-out.

	Ok, the question is not about performance, but anyway maybe you have
some ideas how to solve problem in short time - i don't want rebuld all
needed packages :)

This morning i decided to upgrade one of the my boxes from 6.3 to 7.0 using
http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.htm
l script not native freebsd-update().

Scenario:
# fetch http://people.freebsd.org/~cperciva/freebsd-update-upgrade.tgz
# fetch http://people.freebsd.org/~cperciva/freebsd-update-upgrade.tgz.asc
# gpg --verify freebsd-update-upgrade.tgz.asc freebsd-update-upgrade.tgz
# tar -xf freebsd-update-upgrade.tgz
# sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade
# sh freebsd-update.sh -f freebsd-update.conf install
# shutdown -r now
# sh freebsd-update.sh -f freebsd-update.conf install
# portupgrade -faP
# sh freebsd-update.sh -f freebsd-update.conf install
# shutdown -r now


All goes fine till second reboot. 

After reboot, i couldn't logon to remote box, because default shell is bash,
and i got error on SSH login:

/libexec/ld-elf.so.1: Shared object "libncurses.so.6" not found, required by
"-bash"

Thanx GOD, this box is with ILO management and i didnt need go to the data
center, so i connect through this one, reboot server to single-user mode,
mount all necessary partitions, changed default shell to csh...I have a look
to dmesg/messages and a roger that some services also didn't start up
because some of the shared libs are missing or something like that:

Checked some daemons depencies with ldd and libs like: libc, libm, libthr,
libcrypt, libcrypto are missing, or version is changed etc.

Question: what i did wrong in upgrade process? And how can i fix this errors
now i short time, because portupgrade now also not working because ruby
depencies/libs is missing and go on problems. 

Manualy rebuild every all packages is pain in the ass on Friday night :D

Cheers, Noisex






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01ce01c87adc$e2796720$a76c3560$>