From owner-freebsd-questions@FreeBSD.ORG Thu Jul 16 03:55:10 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 0EB261065672 for ; Thu, 16 Jul 2009 03:55:10 +0000 (UTC) (envelope-from pervect@gmail.com) Received: from mail-gx0-f217.google.com (mail-gx0-f217.google.com [209.85.217.217]) by mx1.freebsd.org (Postfix) with ESMTP id B63A08FC0C for ; Thu, 16 Jul 2009 03:55:09 +0000 (UTC) (envelope-from pervect@gmail.com) Received: by gxk17 with SMTP id 17so6073607gxk.19 for ; Wed, 15 Jul 2009 20:55:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=66btB2hC0lZ9r6iTc8q6Xm/Z/zRuQQtX3kuVGCp0ebw=; b=xzQubGCpIaCpX9hLHkoUBXAX9/xfpJ/ytj0Q/YHkyd1PFJuzJAoO/C8HjO0e00mjqV MCTKotTTJWMEomnec4VcJEqrARfcY209Xa8CSzvC+OaerG3LKm48gribk5UjscDMEpIt DT2+tgDkkfYODNsh124yWkpN3DGFf3fPR/7Ls= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=r/kh9Ta/QBosKkdNPS80jvgLDuKTSoi59E50+ZRe5TMrBj+vK+bRo9tzBMe6rN29w4 9KDbpfBOgfTO1zTDBTXiPcJJPFkt3aDpG65iBuh7K5leahpEDp0K1q+S8Gy6Fq+LOmSZ VkK8iOf8y8HIUC02bredlzYnk0lt41/0DDUmM= MIME-Version: 1.0 Sender: pervect@gmail.com Received: by 10.231.13.201 with SMTP id d9mr2241646iba.35.1247716508942; Wed, 15 Jul 2009 20:55:08 -0700 (PDT) In-Reply-To: <1247600086.36735.26.camel@localhost> References: <20090714024358.8095.qmail@us1.tomahawkonline.net> <20090714103103.14479.qmail@us1.tomahawkonline.net> <1247600086.36735.26.camel@localhost> Date: Wed, 15 Jul 2009 23:55:08 -0400 X-Google-Sender-Auth: 2d38c9554e20d43b Message-ID: From: Victor Starenky To: Sergio de Almeida Lenzi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions 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: Thu, 16 Jul 2009 03:55:10 -0000 I've finally managed to get all sources to the machine via mounted SMB drive that still works. (tar errors out). But alas, "make all install" immediately throws the very same error that started this topic: /libexec/ld-elf.so.1: /lib/libc.so.7: Undefined symbol "_nsdispatch" Very few commands actually work: cp, ls, cat etc. So I'm afraid my only option is to try rescue from cd... Thanks for your help! Victor On Tue, Jul 14, 2009 at 3:34 PM, Sergio de Almeida Lenzi wrote: > Em Ter, 2009-07-14 =E0s 10:00 -0400, Victor Starenky escreveu: > =3D=3D=3D=3D=3D=3D=3DOK... =3D=3D=3D=3D=3D=3D=3D=3D > you can try this script... > it suposes that you have ALL the /usr/src=A0 and the GENERIC KERNEL... > in a slow machine, it is about 4 hours.... (Pentium 2, 256mb memory, 10Gb > disk) > FreeBSD 7.0 =3D>=A0 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,=A0=A0 edit the last lines of the code to make your needs > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > DEPEND=3Ddepend > 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 > >