php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13556 PHP4 should be able to use dso version of cracklib
Submitted: 2001-10-05 03:12 UTC Modified: 2002-02-28 18:26 UTC
From: oliver at deeper dot co dot nz Assigned: sniper (profile)
Status: Closed Package: Compile Failure
PHP Version: 4.1.1 & 4.1.2 OS: linux
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: oliver at deeper dot co dot nz
New email:
PHP Version: OS:

 

 [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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-11 20:21 UTC] sniper@php.net
Fixed in CVS. Fix will be in PHP 4.1

--Jani

 [2002-02-28 14:39 UTC] jtate@php.net
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.
 [2002-02-28 18:26 UTC] sniper@php.net
Really fixed now. Thanks for the patch, jtate.

--Jani

 [2003-09-28 01:00 UTC] cwant at ualberta dot ca
I think it is no longer possible to
build php using the static lib
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 11:01:37 2024 UTC