Server screwed up (/lib/libc.so.7: Undefined symbol "_nsdispatch")

Sergio de Almeida Lenzi lenzi.sergio at gmail.com
Tue Jul 14 19:34:52 UTC 2009


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



More information about the freebsd-questions mailing list