ID:               49078
 Comment by:       php_spam at taf dot nu
 Reported By:      kdprice at baylou dot com
 Status:           No Feedback
 Bug Type:         Compile Failure
 Operating System: CentOS 5
 PHP Version:      5.3SVN-2009-07-27 (snap)
 New Comment:

with "-lresolv"  (notice no "e" at the end) will stop the error but
creates an unsable php install for me.


Previous Comments:
------------------------------------------------------------------------

[2009-10-05 08:47:56] php_spam at taf dot nu

adding "-lresolve" didnt work for me:

/usr/bin/ld: cannot find -lresolve
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

PHP 5.3.0 stable
OS: Linux 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:37:32 EDT 2006
Configure line:
./configure --with-apxs2=/somewhere/httpd/bin/apxs
--with-mysql=/usr/lib/ --prefix=/usr/local/php5 --with-gd
--with-jpeg-dir --with-zlib-dir --enable-ftp --with-ttf
--with-gd-native-ttf --with-freetype-dir --with-xpm-dir
--enable-mbstring --enable-zip --disable-posix-threads
--with-mcrypt=/somewhere/libmcrypt-2.5.8 --enable-sockets
--with-openssl=/usr/local/ssl/ --enable-pcntl --with-mime-magic
--enable-bcmath --enable-dbase

Sorry for bumping this but i hope this is fix-able.

------------------------------------------------------------------------

[2009-09-09 21:12:50] dipakgarg at gmail dot com

i tried to install php5.3.0 on ubuntu today and faced the similar
problem, plz help me with the solution

------------------------------------------------------------------------

[2009-08-05 01:00:03] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2009-07-30 08:03:23] max at tnug dot com

Had the same problem today on PHP 5.3.0-stable.

Debian 2.6.22 #2 SMP x86_64 GNU/Linux.

Was able to solve the problem quickly and easily by adding -lresolve to
the EXTRA_LIBS in my generated makefile.

------------------------------------------------------------------------

[2009-07-28 19:34:09] j...@php.net

We haven't released 5.3.1 even, so how could you test 5.3.2? :D
Anyway, I can't reproduce this under CentOS 5, using latest SVN 
checkout. Please try again, this time using _clean_ sources and 
configure _outside_ sources:

/some/dir/sources
/some/dir/build

# cd /some/dir/build
# /some/dir/sources/configure <your options here>


------------------------------------------------------------------------

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/49078

-- 
Edit this bug report at http://bugs.php.net/?id=49078&edit=1

Reply via email to