ID: 13556
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Closed
-Bug Type: *Compile Issues
+Bug Type: Compile Failure
Operating System: linux
PHP Version: 4.1.1 & 4.1.2
Assigned To: sniper
New Comment:
Really fixed now. Thanks for the patch, jtate.
--Jani
Previous Comments:
------------------------------------------------------------------------
[2002-02-28 14:39:06] [EMAIL PROTECTED]
This was "fixed" in CVS, but incorrectly. Please apply the following
patch to the crack extension:
--BEGIN_PATCH--
===================================================================
RCS file: /repository/php4/ext/crack/config.m4,v
retrieving revision 1.6
diff -u -u -r1.6 config.m4
--- config.m4 30 Nov 2001 18:59:28 -0000 1.6
+++ config.m4 28 Feb 2002 19:33:14 -0000
@@ -8,7 +8,7 @@
if test "$PHP_CRACK" != "no"; then
for i in /usr/local/lib /usr/lib $PHP_CRACK/lib
$PHP_CRACK/cracklib; do
- test -f $i/lib/libcrack.$SHLIB_SUFFIX_NAME -o -f $i/libcrack.a
&& CRACK_LIBDIR=$i
+ test -f $i/libcrack.$SHLIB_SUFFIX_NAME -o -f $i/libcrack.a &&
CRACK_LIBDIR=$i
done
for i in /usr/local/include /usr/include $PHP_CRACK/include
$PHP_CRACK/cracklib; do
--END_PATCH--
The code that searched for the shared objects was looking under a
subdirectory lib, so instead of looking in /usr/lib it was looking in
/usr/lib/lib. This patch fixes the problem.
------------------------------------------------------------------------
[2001-10-11 20:21:03] [EMAIL PROTECTED]
Fixed in CVS. Fix will be in PHP 4.1
--Jani
------------------------------------------------------------------------
[2001-10-05 03:12:59] [EMAIL PROTECTED]
Configure only checks for the static libcrack.a when it would be
possible to use libcrack.so.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=13556&edit=1