#34636 [Fbk]: collect2: ld returned 1 exit status
| From: | sniper@php.net | Date: | Mon, 26 Sep 2005 06:49:46 +0000 |
| Subject: | #34636 [Fbk]: collect2: ld returned 1 exit status | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-85577@lists.php.net to get a copy of this message | ||
ID: 34636
Updated by: sniper@php.net
Reported By: webmaster at sunshinearcade dot com
Status: Feedback
Bug Type: Compile Failure
Operating System: Fedora Core 3
PHP Version: 5.0.5
New Comment:
Something you're building against needs libgcrypt (no idea why, but
this
seems to be a rather common FC problem). Try running this:
up2date libgcrypt-devel
(if this doesn't work, you may need to fetch an RPM of libgcrypt from
www.rpmfind.net).
And then compile again.
Previous Comments:
------------------------------------------------------------------------
[2005-09-26 07:10:01] marcot@php.net
In PHP 4.2.0, the 'register_globals' setting default changed to
'off'. See http://www.php.net/release_4_2_0.php for more info.
We are sorry about the inconvenience, but this change was a necessary
part of our efforts to make PHP scripting more secure and portable.
Something you're building against needs libgcrypt (no idea why, but
this seems to be a rather common FC problem). Try running this:
up2date libgcrypt-devel
(if this doesn't work, you may need to fetch an RPM of libgcrypt from
www.rpmfind.net).
And then compile again.
------------------------------------------------------------------------
[2005-09-26 01:26:45] webmaster at sunshinearcade dot com
Description:
------------
make and make install produce error stating ld could not find lgcrypt
PHP 5.0.5
Fedora Core 3
Apache 2.0.54
MySQL 4.1.14
Reproduce code:
---------------
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysqli=/usr/local/mysql/bin --with-xsl=/usr/lib
Actual result:
--------------
Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo
main/internal_functions_cli.lo -lcrypt -lexslt -lcrypt -lresolv -lm
-ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -lmysqlclient -lz -lcrypt
-lnsl -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxslt -lxml2 -lz -lm
-lcrypt -o sapi/cli/php
/usr/bin/ld: cannot find -lgcrypt
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34636&edit=1