I was tring to install libmcrypt-2.5.7 and mcrypt-2.6.4 on RHLE4 but failed.
I followed the instruction downloaded from WWW.
After made install of libmcrypt-2.5.7, there was a error shown on the screen when I tried to install mcrypt-2.6.4:
...
...
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 your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf 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
I have checked /usr/local/lib/libmcrypt, but couldnt find a file. I think there must be some problems during installing libmcrypt-2.5.7. Is it normal?
Please help me out with this problem. Many thanks
configure: error: *** libmcrypt was not found
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
How did you install libmcrypt ? Was it a RedHat package (RPM) or did you do it from source?
Proividing you used to correct RPM or you compiled from source you should be able to specify to location of libmcrypt when you install.
./configure --with-mcrypt=/usr/local/mcrypt or whatver. I assume this is for the mcrypt functions in PHP ?
Proividing you used to correct RPM or you compiled from source you should be able to specify to location of libmcrypt when you install.
./configure --with-mcrypt=/usr/local/mcrypt or whatver. I assume this is for the mcrypt functions in PHP ?
- AKA Panama Jack
- Forum Regular
- Posts: 878
- Joined: Mon Nov 14, 2005 4:21 pm
Finally done it. thnx guys
Here is my experience of installing Mcrypt
Run Program following the order shown below:
1. libmcrypt-2.5.7-1.1.fc2.dag.i386.rpm;
2. libmhash-0.9.1-1.1.fc2.dag.i386.rpm;
3. mhash-0.9.3-1.i586.rpm
4. php-mcrypt-4.3.9-3.2.1.i386.rpm
It works!
Run Program following the order shown below:
1. libmcrypt-2.5.7-1.1.fc2.dag.i386.rpm;
2. libmhash-0.9.1-1.1.fc2.dag.i386.rpm;
3. mhash-0.9.3-1.i586.rpm
4. php-mcrypt-4.3.9-3.2.1.i386.rpm
It works!