- 论坛徽章:
- 0
|
各位大虾,我编译安装php+openssl+apache+libxml2,使用的版本分别为
httpd-2.0.59.tar.gz , libxml2-2.6.11.tar.gz , openssl-0.9.8e.tar.gz和openssl-0.9.7m.tar.gz 都试过, php-5.2.0.tar.gz,结果是apache能正确支持https服务。但是编译php时总会报错,哪位高手能解释下怎么回事啊。。
错误信息是:
/usr/bin/ld: /home/mis/openssl/lib/libssl.a(s2_srvr.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/home/mis/openssl/lib/libssl.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1 |
|