|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57844 No 64-bit support
Submitted: 2007-09-21 23:48 UTC Modified: 2007-09-22 03:33 UTC
From: fedora at theholbrooks dot org Assigned:
Status: Closed Package: PAM (PECL)
PHP Version: 5.2.1 OS: Fedora7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: fedora at theholbrooks dot org
New email:
PHP Version: OS:


 [2007-09-21 23:48 UTC] fedora at theholbrooks dot org
Your config.m4 is hardcoded to look in {prefix}/lib/ for, but on 64bit machines it is located in {prefix}/lib64/  I've applied the attached patch file and compiled on my 64b machine.  The module compiles just fine and loads into the running PHP perfectly.

--- config.m4.orig      2006-11-13 01:47:40.000000000 -0600
+++ config.m4   2007-09-21 22:39:01.000000000 -0500
@@ -21,7 +21,9 @@

   for i in $PHP_PAM /usr/local /usr /; do
     if test -f $i/lib/libpam.$SHLIB_SUFFIX_NAME; then
-      PAM_DIR=$i
+      PAM_DIR=$i/lib
+    elif test -f $i/lib64/libpam.$SHLIB_SUFFIX_NAME; then
+      PAM_DIR=$i/lib64

@@ -33,7 +35,7 @@
     AC_MSG_ERROR([failed to find and link against libpam])



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-09-22 03:33 UTC] mikael at synd dot info
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at

Thanks for your feedback, the new release 1.0.1 includes the fix.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 06:01:29 2024 UTC