Compile PHP5
Posted by: exelence
Posted on: 2009-04-20 08:21:00
Hello,
I tried to compile PHP 5 to gt GMP support. I used script form here http://wiki.dreamhost.com/PHP5_installscript
But during PHP compilation I got the following error:
tls.o .libs/sslgen.o -Wl,--rpath -Wl,/home/username/php5/lib -Wl,--rpath -Wl,/home/username/php5/lib -L/home/username/php5/lib /home/username/php5/lib/libidn.so -lssl -lcrypto -ldl -lz -Wl,-soname -Wl,libcurl.so.3 -o .libs/libcurl.so.3.0.0
/usr/bin/ld: /home/username/php5/lib/libssl.a(s2_clnt.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/home/username/php5/lib/libssl.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libcurl.la] Error 1
make[2]: Leaving directory `/home/username/source/curl-7.14.0/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/username/source/curl-7.14.0/lib'
make: *** [all-recursive] Error 1
What I did wrong? )