Compiling PHP with readline support

youds

Verified User
Joined
Jul 11, 2008
Messages
490
Location
Lancashire, UK
Hi

I'm trying to compile PHP with readline support, here are the steps I've followed:

http://paste2.org/p/776818

However it isn't working. I can't seem to find where the readline installation directory is.
The folks in irc.freenode.org suggested I ask here as it's a DirectAdmin install. Apparently readline was installed anyway.

Code:
 -fPIC
/usr/local/ssl/lib/libssl.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
make: *** Waiting for unfinished jobs....
[root@tower ~]#

Is what I get back from the build php command.

Some more information:

Code:
[root@tower ~]# uname -a
Linux tower 2.6.18-164.11.1.el5xen #1 SMP Wed Jan 20 08:06:04 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
[root@tower ~]# rpm -ql readline
/usr/lib64/libhistory.so.5
/usr/lib64/libhistory.so.5.1
/usr/lib64/libreadline.so.5
/usr/lib64/libreadline.so.5.1
/usr/share/info/history.info.gz
/usr/share/info/readline.info.gz
/usr/share/info/rluserman.info.gz
/usr/share/man/man3/history.3.gz
/usr/share/man/man3/readline.3.gz
/usr/lib/libhistory.so.5
/usr/lib/libhistory.so.5.1
/usr/lib/libreadline.so.5
/usr/lib/libreadline.so.5.1
/usr/share/info/history.info.gz
/usr/share/info/readline.info.gz
/usr/share/info/rluserman.info.gz
/usr/share/man/man3/history.3.gz
/usr/share/man/man3/readline.3.gz

Any ideas? Thanks in advance.
 
you said not to do it..then what can you suggest. I looked through the link you posted..but i understood not all....can you describe all the process step by step?i will be very thankful.:)
 
Back
Top