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

From: Date: Fri, 08 Sep 2000 05:52:32 +0000
Subject: Re: PHP 4.0 Bug #6586 Updated: libmcrypt-2.4.4 support broken in Configure
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-32634@lists.php.net to get a copy of this message
Hello Sascha, if it's ok with you (as being the ./configure-guru), I'll change it. I was just wondering what this $ld_runpatch_switch whing does. Regards, Derick On 8 Sep 2000, Bug Database wrote: > The bug fix is to change line 21236 to: > > LDFLAGS="$LDFLAGS $ld_runpath_switch$MCRYPT_DIR/lib -L$MCRYPT_DIR/lib" > > > Previous Comments: > --------------------------------------------------------------------------- > > [2000-09-07 11:41:47] gallen@nospamvalere.net > /* 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; } > > --------------------------------------------------------------------------- > > [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 > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#32634) next »