Edit report at http://bugs.php.net/bug.php?id=49078&edit=1
ID: 49078
Comment by: flood at itnews-bg dot com
Reported by: kdprice at baylou dot com
Summary: Make Failed sapi/cli/php Error 1
Status: No Feedback
Type: Bug
Package: Compile Failure
Operating System: CentOS 5
PHP Version: 5.3SVN-2009-07-27 (snap)
Block user comment: N
New Comment:
Actually, I just managed to get it working.
After adding "-lresolv" to the "EXTRA_LIBS" line of "Makefile" it
compiled successfully.
The line that worked for me was:
EXTRA_LIBS = -lresolv -lcrypt -lcrypt -lpq -lrt -lm -ldl -lnsl -lxml2
-lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz
-lm -lxml2 -lz -lm -lcrypt
Hope this helps somebody.
Sorry for the double post.
Previous Comments:
------------------------------------------------------------------------
[2010-08-16 22:49:28] flood at itnews-bg dot com
Have the same problem.
I'm trying to compile php 5.3.3 on Slackware 12.2 and I can't get it to
work.
This is the line I'm using
./configure --with-apxs2=/usr/local/apache-2.2.15/bin/apxs
--with-pgsql=/usr/local/pgsql/
The problem comes somewhere in "--with-pgsql". If I remove that line it
builds with no problems.
------------------------------------------------------------------------
[2010-07-12 13:27:23] smileyrecords at gmail dot com
same problem php 5.3.3rc2
------------------------------------------------------------------------
[2009-10-30 19:48:31] rofc at rofc dot com dot ar
Same problem here with FC5 on a x86_64 server.
------------------------------------------------------------------------
[2009-10-15 07:31:32] eric-delas at wanadoo dot fr
I got the same problem, on FedoraCore 9 and PHP 5.3.0
------------------------------------------------------------------------
[2009-10-05 09:55:36] php_spam at taf dot nu
with "-lresolv" (notice no "e" at the end) will stop the error but
creates an unsable php install for me.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=49078
--
Edit this bug report at http://bugs.php.net/bug.php?id=49078&edit=1