当前位置: 技术问答>linux和unix
PHP 源码 make 出错
来源: 互联网 发布时间:2016-12-25
本文导语: /usr/bin/ld: /usr//lib/libpng.a(libpng12_la-png.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr//lib/libpng.a: could not read symbols: Bad value collect2: ld returned 1 exit status...
/usr/bin/ld: /usr//lib/libpng.a(libpng12_la-png.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr//lib/libpng.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
/usr//lib/libpng.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
|
CFLAGS += -fPIC
|
++,日志给你了解决方法