mcrypt / libmcrypt question

mcrypt / libmcrypt question

Post by Sander Swu » Thu, 09 Oct 2003 06:55:22

Hi i don't know if this is the right place to be posting this question but i
hope some one can give me a hand with this.

I am trying to install mcrypt. Therefor i downloaded the lastest version of
mcrypt and libmcrypt (version 2.6.4 and 2.5.7)

At first i configure->make->make install the libmcrypt, until here
everything works out just fine.

From that point i try to install mcrypt so i enter the ./configure command
and after some processing the following error appears:
checking for libmcrypt-config... /usr/local/bin/libmcrypt-config
checking for libmcrypt - version >= 2.5.0... no
*** Could not run libmcrypt test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding LIBMCRYPT or finding the wrong
*** version of LIBMCRYPT. If it is not finding LIBMCRYPT, you'll need to set
*** LD_LIBRARY_PATH environment variable, or edit /etc/ to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: *** libmcrypt was not found

As you can see it is checking for version 2.5.0 of the libmcrypt lib's...
will that be the problem or is there something else?


1. mcrypt.dll and libmcrypt.dll with WinXP SP1

2. TclDES - libmcrypt question

Hello All,

In recent experimentation with TclDES in cfb mode I'm
experiencing some issues that I was hoping someone
could help with.

When using libmcrypt ( )
with des and 3des the results I get from a 'raw' transformation
in cfb mode using same iv and key is entirely different than
what I get from the TclDES package.

Is there something basic here that I'm missing from someone
familiar with libmcrypt and TclDES?

Sample Code and usage.
proc encryptdata {line iv key} {
set eline [DES::des -mode cfb -dir encrypt -key $key -iv $iv $line]
return $eline
encryptdata "checkmate" "6hdnhd5rtdhjd8e73hjndksjs7dnd83euj38udfjdjd"

(encryption specific)

if ( (err = mcrypt_generic_init(ehandle,keybuf,strlen(keybuf),iv)< <
0) {
return -1;
while (< < strlen(pwbuf)) {
../testdes.out -p checkmate -i
"6hdnhd5rtdhjd8e73hjndksjs7dnd83euj38udfjdjd" -k
Key = 7dndhjd7, Iv = 6hdnhd5r for encrypted password ]G_a
Decrypted password = checkmate

3. SGI freeware - Apache, PHP, libmcrypt

4. Documentation/examples for mcrypt/mhash

5. Problem installing PHP with mcrypt

6. MCRYPT blank

7. mcrypt, triple des and java.

8. Configuration of mcrypt and PDFlib

9. mcrypt not working

10. Problem decrypting data stored in MySQL using mcrypt

11. Encrypted communication with PHP script (mcrypt)

12. PHPMyAdmin can't find mcrypt and mbstring

13. XTEA/MCrypt: Trying to port my application from C++.

14. CRYPT_MD5 on Mac OS/X via mhash/mcrypt/md5/etc etc?

15. PHP extension "mcrypt" must be loaded.