Php 7.2 issues

ReN

Verified User
Joined
Jul 2, 2005
Messages
202
hey guys getting this error trying to build php 7.2, worked perfectly finewhen i upgraded a week ago
Freebsd 11.3

--- libphp7.la ---
/usr/bin/ld: /usr/local/lib/libpcre.a(libpcre_la-pcre_compile.o): relocation R_X86_64_32S against `_pcre_utf8_table4' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libpcre.a: could not read symbols: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** [libphp7.la] Error code 1

any sugeestion/ideas?
 
just for completion , this was due to something getting overwritten in sodium, so a ./build sodium fixed the issue, ./build php then compiled fine
 
Back
Top