Page 1 of 1

error trying to install PHP 5.2.6

Posted: Wed Aug 20, 2008 7:28 pm
by dash77
Hello all,

I'm trying to install PHP 5.2.6. I'm getting the following error message when I do make:

/usr/bin/ld: /usr/local/imap-2007a/lib/libc-client.a(osdep.o): relocation R_X86_64_32 against `ssl_server_input_wait' can not be used when making a shared object; recompile with -fPIC
/usr/local/imap-2007a/lib/libc-client.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

Previously I configured PHP as follows:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-gettext=/usr/local/gettext --with-imap=/usr/local/imap-2007a --with-imap-ssl=/usr/bin --with-iconv --enable-mbstring=all --enable-mbregex --with-mime-magic --with-openssl

I am running on a system using Red Hat Enterprise Linux Server Release 5.1.

I followed the instructions for getting the c-client to be found at:

http://www.php.net/manual/en/imap.setup.php

Any ideas? I have spent several hours on this without success.

Thanks!

Re: error trying to install PHP 5.2.6

Posted: Thu Aug 21, 2008 12:49 am
by it2051229
use WAMP