#34636 [Com]: cannot find -lgcrypt
| From: | phpbugrep-20050921 at pgregg dot com | Date: | Wed, 12 Oct 2005 15:03:10 +0000 |
| Subject: | #34636 [Com]: cannot find -lgcrypt | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-86459@lists.php.net to get a copy of this message | ||
ID: 34636
Comment by: phpbugrep-20050921 at pgregg dot com
Reported By: webmaster at sunshinearcade dot com
Status: No Feedback
Bug Type: Compile Failure
Operating System: Fedora Core 3
PHP Version: 5.0.5
New Comment:
This is due to an unresolved dependency in RHEL 4 and FC.
resolve with:
root/pts/3-/mnt/RedHat/RPMS-178#->rpm -i
libgpg-error-devel-1.0-1.i386.rpm libgcrypt-devel-1.2.0-3.i386.rpm
Or whatever versions came with your RedHat CDs
PHP will then make cleanly.
Paul Gregg
Previous Comments:
------------------------------------------------------------------------
[2005-10-04 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".
------------------------------------------------------------------------
[2005-09-26 08:49:45] sniper@php.net
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