Upgrade from 6.3 to 7.0: Result ->Shared object not found :)

Kris Kennaway kris at FreeBSD.org
Fri Feb 29 14:33:25 UTC 2008


Noisex wrote:
> 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"

If the portupgrade -faP completed successfully and your bash was 
installed from ports then it should have been rebuilt.  If you have 
non-port 6.x software installed then you need to add the compat6x port 
to keep it running.

Kris



More information about the freebsd-performance mailing list