virtualbox issue

R. Scott Evans freebsd-emulation at rsle.net
Tue Nov 25 14:34:26 UTC 2014


I sucessfully updated virtualbox on my 9.3-RELEASE (amd64) hosts today 
without incident but trying to update an existing virtualbox-ose-4.3.18 
port to 4.3.20 on a 10.1-RELEASE (amd64) box and I get a fail message 
that I don't have 32 bit libraries.  Worked without them before but 
okay, I try and install the 32 bit libraries:

"cd /usr/src; make build32 install32"

and I now choke on libmagic...

"...
cd /usr/src/lib/libmagic;  WORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS="-m 
/usr/src/tools/build/mk  -m /usr/src/share/mk" 
MAKEOBJDIRPREFIX=/usr/obj/lib32 make SSP_CFLAGS= DESTDIR= 
DIRPRFX=lib/libmagic/ -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF 
-DEARLY_BUILD build-tools
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

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
"

What am I missing?

Thanks,
-scott


More information about the freebsd-ports mailing list