Today I started from updating system as usual by the command:
But update failed on the:
So I went to the /usr/src and done
Please guide me what should I do to fix this.
sudo portsnap fetch update
sudo portmaster -aBut update failed on the:
Code:
===>>> All >> virtualbox-ose-4.3.30 (10/10)
===> Cleaning for virtualbox-ose-4.3.32
Requires 32-bit libraries installed under /usr/lib32.
Do: cd /usr/src; make build32 install32; /etc/rc.d/ldconfig restart
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/emulators/virtualbox-ose
*** Error code 1
So I went to the /usr/src and done
make build32 to get at the end:
Code:
cc -O2 -pipe -DMAGIC='"/usr/share/misc/magic"' -DHAVE_CONFIG_H -I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file/src -std=gnu99 -I/usr/obj/usr/src/tmp/legacy/usr/include -DCOMPILE_ONLY -L/usr/obj/usr/src/tmp/legacy/usr/lib -o mkmagic /usr/src/lib/libmagic/../../contrib/file/src/apprentice.c /usr/src/lib/libmagic/../../contrib/file/src/cdf_time.c /usr/src/lib/libmagic/../../contrib/file/src/encoding.c /usr/src/lib/libmagic/../../contrib/file/src/funcs.c /usr/src/lib/libmagic/../../contrib/file/src/magic.c /usr/src/lib/libmagic/../../contrib/file/src/print.c -lz -legacy
/usr/bin/ld: cannot find -legacy
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop.
make[2]: stopped in /usr/src/lib/libmagic
*** Error code 1
Please guide me what should I do to fix this.
Code:
$ uname -a
FreeBSD AMDC727.local 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64