Compiler/linker depends on missing file: % cat fil.c #include <stdio.h> int main(int argc, char *argv[]) { printf("hello world\n"); return 0; } jonasbu@jonasbu-netlab:~/t % cc -o plopp fil.c /usr/bin/ld: cannot find /usr/lib/libc_nonshared.a cc: error: linker command failed with exit code 1 (use -v to see invocation) How-To-Repeat: See above.
How did you install FreeBSD? It seems extremely unlikely that a normal installation of a release would be broken like this.
The problem was likely caused by installing clang from ports. This defect can be closed now.
Thanks for the information.