php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40688 php configure error
Submitted: 2007-03-02 03:36 UTC Modified: 2007-03-10 01:00 UTC
Votes:3
Avg. Score:4.0 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:1 (33.3%)
From: ryo dot wong at i010 dot com Assigned:
Status: No Feedback Package: *Configuration Issues
PHP Version: 5.2.1 OS: centos 4.4 i386
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ryo dot wong at i010 dot com
New email:
PHP Version: OS:

 

 [2007-03-02 03:36 UTC] ryo dot wong at i010 dot com
Description:
------------
/usr/bin/ld: cannot find -lgcrypt
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

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

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

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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-02 08:01 UTC] derick@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2007-03-10 01:00 UTC] 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".
 [2007-03-18 16:10 UTC] jay at drummondsoftware dot com
I'm running on centOS 4.4 and this was happening to me when I tried to compile PHP with the -with-xsl=/usr/bin option. 

I needed to add libgcrypt-devel to the OS.

yum install libgcrypt-devel

This also added a dependency package of libgpg-error-devel

Give it a try.
 [2007-03-18 16:15 UTC] jay at drummondsoftware dot com
I'm running on centOS 4.4 and this was happening to me when I
tried to compile PHP with the -with-xsl=/usr/bin option.

I needed to add libgcrypt-devel to the OS.

As root 
yum install libgcrypt-devel
This also added a dependency package of libgpg-error-devel

Give it a try.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 07:01:33 2025 UTC