|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-10-05 03:12 UTC] oliver at deeper dot co dot nz
Configure only checks for the static libcrack.a when it would be possible to use libcrack.so. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 18:00:01 2025 UTC |
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.