Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

TrueOS 32-bit static libraries for virtualbox?

groenveld

FreeNAS Experienced
Joined
May 10, 2019
Messages
181
Attempting to rebuild virtualbox-ose with pulseaudio support, stumbling over Trident missing static libraries:


Code:
clang version 6.0.1 (tags/RELEASE_601/final)
Target: i386-portbld-freebsd13.0
Thread model: posix
InstalledDir: /usr/local/llvm60/bin
 "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 --hash-style=both --enable-new-dtags -m elf_i386_fbsd -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC -L/usr/lib32 -L/usr/lib32 /usr/lib32/crt1.o /usr/lib32/crti.o /usr/lib32/crtbegin.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o /usr/lib32/crtend.o /usr/lib32/crtn.o /usr/lib32/libc.so
kBuild: Linking VBoxCmp
ld: error: cannot open /usr/lib32/libc_nonshared.a: No such file or directory
clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)
kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC] Error 1
The failing command:
@/usr/local/bin/clang60 -m32               -g -g /usr/lib32/crt1.o /usr/lib32/crti.o /usr/lib32/crtbegin.o  -nostdlib -v    -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o  -L/usr/lib32   /usr/lib32/crtend.o   /usr/lib32/crtn.o   /usr/lib32/libc.so


I have os-generic-userland-lib32 installed.
I'm confused why the port insists on static linking archive library.

John
groenveld@acm.org
 
Top