virtaullBox AMD64 32bit lib

Rob Byrnes rbyrnes at gmail.com
Wed Sep 15 23:38:02 UTC 2010


On 15 September 2010 17:43, Gholam Mostafa Faridi
<mostafafaridi at gmail.com> wrote:
> I want install virtualBox on AMD 64 and I use FreeBSD 8.1 and I have SRC
> directory , but when I run make install clean I see this error
> " Requires 32-bit libraries installed under /usr/lib32.
> Do: cd /usr/src; make build32 install32; ldconfig -v -m -R /usr/lib32 "
> and I run this command
> "cd /usr/src; make build32 install32; ldconfig -v -m -R /usr/lib32"
>  and after minutes I see this error
>
> "===> gnu/lib/csu (obj,depend,all,install)
> sh /usr/src/tools/install.sh -o root -g wheel -m 444  crtbegin.o
> /usr/obj/usr/src/lib32/usr/lib32/crtbegin.o
> sh /usr/src/tools/install.sh -o root -g wheel -m 444  crtend.o
> /usr/obj/usr/src/lib32/usr/lib32/crtend.o
> sh /usr/src/tools/install.sh -o root -g wheel -m 444  crtbeginT.o
> /usr/obj/usr/src/lib32/usr/lib32/crtbeginT.o
> sh /usr/src/tools/install.sh -o root -g wheel -m 444  crtbegin.So
> /usr/obj/usr/src/lib32/usr/lib32/crtbeginS.o
> sh /usr/src/tools/install.sh -o root -g wheel -m 444  crtend.So
> /usr/obj/usr/src/lib32/usr/lib32/crtendS.o
> ===> lib/csu/i386-elf (obj,depend,all,install)
> ld -m elf_i386_fbsd -Y P,/usr/obj/usr/src/lib32/usr/lib32  -o gcrt1.o -r
> crt1_s.o gcrt1_c.o
> ld: Relocatable linking with relocations from format elf64-x86-64
> (gcrt1_c.o) to format elf32-i386-freebsd (gcrt1.o) is not supported
> *** Error code 1
>
> Stop in /usr/src/lib/csu/i386-elf.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> ldconfig: warning: /usr/lib32: No such file or directory "
>
> I make post about this error in  freebsdforums but they can not help me
> please see link
>
> http://forums.freebsd.org/showthread.php?t=17607
>
> they said problem is ccache and I disable and remove ccache  ,but still I
> have that probelm
> please help me

I had a similar problem, and removing the contents of /usr/obj and
then rebuilding world (cvsup'ed as of 15/09) with  make -DNO_CCACHE
seemed to work.  This was on a real AMD64 machine too.

Rob


More information about the freebsd-emulation mailing list