PHP 4.0 Bug #6586 Updated: libmcrypt-2.4.4 support broken in Configure

From: Date: Thu, 07 Sep 2000 15:41:47 +0000
Subject: PHP 4.0 Bug #6586 Updated: libmcrypt-2.4.4 support broken in Configure
Groups: php.dev 
Request: Send a blank email to php-dev+get-32564@lists.php.net to get a copy of this message
ID: 6586 User Update by: gallen@nospamvalere.net Status: Open Bug Type: *Install and Config Description: libmcrypt-2.4.4 support broken in Configure /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char init_mcrypt(); int main() { init_mcrypt() ; return 0; } configure:21289: checking for mcrypt_module_open in -lmcrypt configure:21308: gcc -o conftest -g -O2 -I/usr/local/include/gd/ -I/usr/local/BerkeleyDB.3.1/include/ -R/usr/loc al/lib -L/usr/local/lib conftest.c -lmcrypt -ldb-3 -lm -lcrypt -lltdl 1>&5 /usr/libexec/elf/ld: cannot open -ldb-3: No such file or directory configure: failed program was: #line 21297 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mcrypt_module_open(); int main() { mcrypt_module_open() ; return 0; } Previous Comments: [2000-09-07 00:26:13] gallen@nospamvalere.net configure in 4.0.2 unable to find mcrypt_module_open after install of libmcrypt-2.4.4 checking for Java support... no checking whether to include LDAP support... no checking for MCAL support... no checking for mcrypt support... yes checking for init_mcrypt in -lmcrypt... no checking for mcrypt_module_open in -lmcrypt... no configure: error: Sorry Configure info listed below: CPPFLAGS="-I/usr/local/include/gd/ -I/usr/local/BerkeleyDB.3.1/include/" LDFLAGS=-L/usr/local/BerkeleyDB.3.1/lib/ ./configure --with-apxs=/usr/local/www/bin/apxs --disable-debug --with-pgsql=/usr/home/pgsql --with-xml --with-ftp --enable-track-vars --enable-trans-sid --with-db3=/usr/local/BerkeleyDB.3.1 --with-mcrypt --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6586

« previous php.dev (#32564) next »