Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2009 16:34:46 -0300
From:      Sergio de Almeida Lenzi <lenzi.sergio@gmail.com>
To:        Victor Starenky <freebsd@victorstar.com>, freebsd-questions <questions@freebsd.org>
Subject:   Re: Server screwed up (/lib/libc.so.7: Undefined symbol  "_nsdispatch")
Message-ID:  <1247600086.36735.26.camel@localhost>
In-Reply-To: <ad0a1bae0907140700o53990fr7c3a8c769bf77fea@mail.gmail.com>
References:  <ad0a1bae0907132018r257fd4e8m77178b29a626a479@mail.gmail.com> <20090714024358.8095.qmail@us1.tomahawkonline.net> <ad0a1bae0907140617t1a37549dm581478d46b19f21b@mail.gmail.com> <20090714103103.14479.qmail@us1.tomahawkonline.net> <ad0a1bae0907140700o53990fr7c3a8c769bf77fea@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Em Ter, 2009-07-14 às 10:00 -0400, Victor Starenky escreveu:
=======OK... ========
you can try this script...
it suposes that you have ALL the /usr/src  and the GENERIC KERNEL...
in a slow machine, it is about 4 hours.... (Pentium 2, 256mb memory,
10Gb disk)
FreeBSD 7.0 =>  FreeBSD 7.2
save the script in the root directory say: updatebsd
than.... with all the /usr/src (you can get it from the CD).....

sh updatebsd
if it finds a small mistake it will stop.
after building the OS, check if everything is ok, and reboot.
this script will install the GENERIC KERNEL, so if you have your
own kernel,   edit the last lines of the code to make your needs
==============================================
DEPEND=depend
cd /usr/src
set -e
(cd share/mk;make all install || exit 1)
make includes
for i in etc share lib libexec secure/lib secure
do
	(cd $i;make ${DEPEND} all install || exit 1)
	sync
done
for i in sbin bin usr.sbin usr.bin 
do
	(cd $i;make ${DEPEND} all install || exit 1)
	sync
done
cd /sys/`uname -m`/conf
config GENERIC
cd ../compile/GENERIC
make ${DEPEND} all install




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1247600086.36735.26.camel>