Undefined symbol "__mb_sb_limit" during 7.0-BETA1 installworld
Tuc at T-B-O-H.NET
ml at t-b-o-h.net
Wed Oct 24 11:49:17 PDT 2007
>
> 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
More information about the freebsd-current
mailing list