在Linux Redhat6下面安装apache server的时候,执行完./configure命令后在执行make命令的时候报如下错误:
/usr/bin/ld: /usr/local/lib/libz.a(crc32.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [mod_deflate.la] 错误 1
make[4]: Leaving directory `/usr/local/httpd-2.4.3/modules/filters'
make[3]: *** [shared-build-recursive] 错误 1
make[3]: Leaving directory `/usr/local/httpd-2.4.3/modules/filters'
make[2]: *** [shared-build-recursive] 错误 1
make[2]: Leaving directory `/usr/local/httpd-2.4.3/modules'
make[1]: *** [shared-build-recursive] 错误 1
make[1]: Leaving directory `/usr/local/httpd-2.4.3'
make: *** [all-recursive] 错误 1
请求大虾指点...
hspiritl 于 2012-09-14 08:47:06发表:
路过