once again i ran into the typical problem of not getting mcrypt to compile into php. this time i really sank my teeth into it and discovered that this configure line:
./configure --with-mysql --with-xml --with-ldap --with-apache=../apache_1.3.14 --enable-debug=no --enable-track-vars=yes --enable-bcmath=yes --with-imap=/usr/local --with-mcrypt=/usr/local/bin --enable-ftp --enable-mhash=/usr/local/lib --with-mhash --with-zlib-dir=/usr/local/lib --with-gd=/usr/local --with-imap-ssl --with-jpeg-dir=/usr/local
does NOT work. i get:
checking for mcrypt support... yes
checking for init_mcrypt in -lmcrypt... no
checking for mcrypt_module_open in -lmcrypt... no
and it fails...
i tried with every possible different version of libmcrypt, mcrypt, mhash, etc.
however if i simply leave out the --with-jpeg-dir line, it works!
what on earth does jpeg have to do with mcrypt???