From owner-freebsd-current@FreeBSD.ORG Wed Oct 24 18:49:17 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE60E16A417 for ; Wed, 24 Oct 2007 18:49:17 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (vjofn-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::5e5]) by mx1.freebsd.org (Postfix) with ESMTP id 5E1E313C48D for ; Wed, 24 Oct 2007 18:49:17 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from himinbjorg.tucs-beachin-obx-house.com (cpe-68-175-8-11.hvc.res.rr.com [68.175.8.11]) (authenticated bits=0) by vjofn.tucs-beachin-obx-house.com (8.12.9/8.12.9) with ESMTP id l9OInG9P052198; Wed, 24 Oct 2007 14:49:16 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1]) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6) with ESMTP id l9OInAXH015459; Wed, 24 Oct 2007 14:49:11 -0400 (EDT) (envelope-from ml@t-b-o-h.net) Received: (from tbohml@localhost) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6/Submit) id l9OInATV015458; Wed, 24 Oct 2007 14:49:10 -0400 (EDT) (envelope-from tbohml) From: "Tuc at T-B-O-H.NET" Message-Id: <200710241849.l9OInATV015458@himinbjorg.tucs-beachin-obx-house.com> To: stickybit@gmx.net Date: Wed, 24 Oct 2007 14:49:10 -0400 (EDT) In-Reply-To: <20071024181909.248660@gmx.net> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, "Tuc at T-B-O-H.NET" , Michal Varga Subject: Re: Undefined symbol "__mb_sb_limit" during 7.0-BETA1 installworld X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2007 18:49:17 -0000 > > Hi all, > > just a 'me too' here. > > Had exactly the same problem last night with RELENG_7 amd64 GENERIC build. > (BETA1-ISO amd64 freshly installed before / no upgrade from pre RELENG_7 system) > (No flags / modifications in make.conf.) > > 'make buildworld' ran without errors. > > 'make installworld' fails with > > '/libexec/ld-elf.so.1: Undefined symbol "__mb_sb_limit" referenced from COPY relocation in /bin/sh' > > and rendered the system nonworking. ALL inputs get above error message. No chance to fix something because nothing gets executed. No copy from rescue etc. ... > I'm not sure what you mean "No copy from rescue". You should be able to type : /rescue/sh and get an intact working shell. I additionally did : PATH=/rescue:$PATH;export PATH So that things that DID work since they were in /rescue were available to me. Then you need to go to the /usr/obj/usr/src and get the compiled versions of : /bin/sh /usr/bin/make /usr/bin/awk /usr/sbin/mtree /usr/sbin/zic /lib/libedit.so.6 /lib/libncurses.so.7 /usr/bin/env /usr/lib/libgnuregex.so.4 /usr/lib/libbz2.so.3 /usr/bin/find and put them in their rightful place. They are all over, so its a bit of a struggle to locate them. But once you do, just "cp -p". I had to do a "cp -fp" on the /bin/sh since I got "Text file busy". Once I got all those, I went back to /usr/src and did the "make installworld" TWICE. The first time I know there were a few errors, but it went all the way through. The second time I ran it under "script" and did "grep COPY typescript" and it came up clean (Except for one reference to a file that had COPY in its name. :) ) > > Is there something left from 8-Current in the BETA1-ISOs that breaks 'make installworld' in RELENG_7? > I'm trying to find that out myself! I installed over 300 packages from ports after loading mini-ISO/FTP-minimal, and after the installworld/reboot (after this fix) they are all broken. Tuc