/usr/bin/ld: dynamic STT_GNU_IFUNC symbol `mb_utf16be_to_wchar' with pointer equality in
`ext/mbstring/libmbfl/filters/mbfilter_utf16.o' can not be used when making an executable;
recompile with -fPIE and relink with -pie
collect2: error: ld returned 1 exit status
make: *** [Makefile:283: sapi/cli/php] Error 1
按提示:
修改Makefile文件 /home/server/php/84/src/Makefile
原内容:
CC = cc
BUILD_CC = cc
修改为
CC = cc -fPIE -pie
BUILD_CC = cc -fPIE -pie