/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


![[转]Linux系统防CC攻击自动拉黑IP增强版Shell脚本_西数超哥博客](https://www.ysidc.top/wp-content/uploads/2019/10/7b18603d328c56bb35db7f04a2a6a315-480x300.png)




![[原创]Centos 6.5 linux系统如何安装 tomcat 7.0_西数超哥博客](https://www.ysidc.top/wp-content/uploads/2018/12/b689de01c730c546134509676924abed-480x300.jpg)




