From owner-freebsd-questions@FreeBSD.ORG Tue Jul 14 19:34:52 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C42710656C3 for ; Tue, 14 Jul 2009 19:34:52 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id CD8908FC15 for ; Tue, 14 Jul 2009 19:34:51 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so262486qwe.7 for ; Tue, 14 Jul 2009 12:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer; bh=WxgjyR8gQ1r/11CKm5T3hOwusJbGl95/dcPH/NIZFos=; b=O3s5ILVxGfyM0vZ5gf5JSVKFAWcHl1EfHjc32OZqBFB6K2BFdcnqPlz1CBmcAcuCvx MAZku0xpbq3XRHP0zpzVwXRAhEiATD/AsZdgC4t8DY56kKQrU/t9FqGgITdM3KM7RKGm OwnKN3Rx6cRBIzd66VKPW6hO9qoaxKlFsoL0o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer; b=JyydUFgP0OF1j6pQ5Z9+Umckp2FCJk9noTb8tQfvILvecYDTLmOYwscJ3Y+WVLl8I2 n4Ddn2G4MV6w/oLXl2/e8KzcwJ6eYBo503MgMdv4ju9t8i5k5gN6c7vbbHF6DU1pCsHy 9QIR11l6hC/kmcCYGR0iU4sk1Ik7rxmKP7Wd0= Received: by 10.224.60.68 with SMTP id o4mr4124430qah.338.1247600091217; Tue, 14 Jul 2009 12:34:51 -0700 (PDT) Received: from ?192.168.6.250? ([189.123.214.109]) by mx.google.com with ESMTPS id 8sm8778208qwj.39.2009.07.14.12.34.48 (version=SSLv3 cipher=RC4-MD5); Tue, 14 Jul 2009 12:34:50 -0700 (PDT) From: Sergio de Almeida Lenzi To: Victor Starenky , freebsd-questions In-Reply-To: References: <20090714024358.8095.qmail@us1.tomahawkonline.net> <20090714103103.14479.qmail@us1.tomahawkonline.net> Date: Tue, 14 Jul 2009 16:34:46 -0300 Message-Id: <1247600086.36735.26.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Server screwed up (/lib/libc.so.7: Undefined symbol "_nsdispatch") X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2009 19:34:52 -0000 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