error trying to install PHP 5.2.6

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dash77
Forum Newbie
Posts: 1
Joined: Wed Aug 20, 2008 7:21 pm

error trying to install PHP 5.2.6

Post 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!
User avatar
it2051229
Forum Contributor
Posts: 312
Joined: Tue Dec 25, 2007 8:34 pm

Re: error trying to install PHP 5.2.6

Post by it2051229 »

use WAMP
Post Reply