LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   php 5.2.5 configure always fails on libmcrypt (https://www.linuxquestions.org/questions/fedora-35/php-5-2-5-configure-always-fails-on-libmcrypt-608842/)

jfernandez 12-24-2007 02:44 AM

php 5.2.5 configure always fails on libmcrypt
 
I'm trying to install php5.2.5 on fc8, when I ran configure with '--with-mcrypt' option, I always get the following error even if I have libmycrypt 2.5.8 installed.

checking for libmcrypt version... >= 2.5.6
checking for mcrypt_module_open in -lmcrypt... no
checking for mcrypt_module_open in -lmcrypt... no
configure: error: Sorry, I was not able to diagnose which libmcrypt version you have installed.

I'm thinking there might be an earlier version of libmycrypt installed by fc8. But I can't find it. Does anybody know how to solve this problem? Thanks.



JF

reddazz 12-24-2007 02:58 AM

Do you have mcrypt (or libmcrypt) devel installed?

jfernandez 12-26-2007 09:37 PM

reddazz,

I have both libmcrypt2.5.8 and mcrypt2.6.7 installed before I run configure for php 5.2.5. How do I check if I have mcrypt (or libmcrypt) devel installed or not? Thanks.


JF

reddazz 12-27-2007 05:22 AM

Code:

$rpm -qa | grep -i mcrypt
That should show a list of mcrypt packages that are installed on your system.


All times are GMT -5. The time now is 11:51 PM.