Solved [Solved] Cannot compile any ports after freebsd-update to 10

Hello,

Am I the only one who can't compile a single port from ports tree after freebsd-update from 9.2-RELEASE to 10.0-RELEASE? Always I get the same error:
Code:
/usr/bin/ld: /usr/lib/libc.a(strtonum.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
Or some other file in the "()" instead of strtonum.o. I tried with make CXXFLAGS=-fPIC CFLAGS=-fPIC but got the same error.

Does anybody have an idea how to fix this?

Thank you.

P.S.
Solved by doing:
Code:
#cd /usr/src/lib/libc
#make install clean
 
Back
Top