PHP 4.0 Bug #7941: mcrypt 2.2 detected when mcrypt 2.4 is installed

From: Date: Thu, 23 Nov 2000 12:46:49 +0000
Subject: PHP 4.0 Bug #7941: mcrypt 2.2 detected when mcrypt 2.4 is installed
Groups: php.dev 
Request: Send a blank email to php-dev+get-38997@lists.php.net to get a copy of this message
From: astmail@yahoo.com Operating system: Linux 2.2 PHP version: 4.0.3pl1 PHP Bug Type: *Install and Config Bug description: mcrypt 2.2 detected when mcrypt 2.4 is installed When mcrypt 2.4 is installed as static and as dynamic library, e.g. /usr/lib/libmcrypt.a and /usr/lib/libmcrypt.so, configure detects mcrypt_module_open *AND* init_mcrypt (the latter is contained in the static lib). In this case HAVE_LIBMCRYPT22 gets defined instead of HAVE_LIBMCRYPT24 resulting in a build failure. The solution is to define HAVE_LIBMCRYPT24 when mcrypt_module_open is detected prior to checking for the results for init_mcrypt (change of sequence in configure script). Note: For linux the path to the mcrypt modules must be in ld.so.conf to prevent mcrypt failures in general. -- Edit Bug report at: http://bugs.php.net/?id=7941&edit=1

« previous php.dev (#38997) next »