teachforjune-Scott
01-12-2010, 11:36 AM
Anyone have any experience installing mcrypt on LiteSpeed?
I've compiled PHP 5 with mcrypt, but in the log it says there's no support for mcrypt/mhash.
I've installed libmcrypt manually as well as mhash, but when I try to compile mcrypt, it fails saying libmcrypt is not installed (I untar, compile, make, and make install including updating the so conf file.)
Any ideas.
Thanks!
It's a DA/LiteSpeed set up.
mistwang
01-12-2010, 09:53 PM
You need to get the "devel" rpm installed.
yum install libmcrypt-devel
it has nothing to do with litespeed, you need it if you compile PHP with mcrypt from source code.
teachforjune-Scott
01-12-2010, 10:15 PM
Thanks!
I already had that installed, but it still says mcrypt/mhash support no.
I tried to compile mcrypt again after updating via yum the libmcrypt-devel and this is the error that I got...
*** 'libmcrypt-config --version' returned 2.5.7, but LIBMCRYPT (2.5.8)
*** was found! If libmcrypt-config was correct, then it is best
*** to remove the old version of LIBMCRYPT. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If libmcrypt-config was wrong, set the environment variable LIBMCRYPT_CONFIG
*** to point to the correct copy of libmcrypt-config, and remove the file config.cache
*** before re-running configure
mistwang
01-13-2010, 12:54 AM
Maybe mismatched libmcrypt and libmcrypt-devel RPM.
Or, you have compiled libmcrypt from source.
teachforjune-Scott
01-13-2010, 08:32 AM
I compiled libmcrypt from source. I was following directions I found online, but mcrypt won't compile and so now I'm stuck and I have a client who needs mcrypt. I have it on my non-litespeed box and had no issues compiling php with it, but with litespeed, I can't get it to work at all.
mistwang
01-13-2010, 12:39 PM
You should remove libmcrypt installed from source, usually under /usr/local/, then if need, reinstall libmcrypt and libmcrypt-devel rpm.
teachforjune-Scott
01-13-2010, 10:45 PM
Still no go!
I removed libmcrypt and then reran yum and then tried to compile mcrypt;;;
checking for libmcrypt - version >= 2.5.0...
*** LIBMCRYPT header file (version 2.5.7) does not match
*** library (version 2.5.8)
configure: error: *** libmcrypt was not found
Is there a step by step instructions that I can follow. I can follow directions (that what I did and it didn't work). I don't know why I'm having such trouble. I don't usually have such trouble installing things, but this one is killing me! :(
Still no go!
I removed libmcrypt and then reran yum and then tried to compile mcrypt;;;
checking for libmcrypt - version >= 2.5.0...
*** LIBMCRYPT header file (version 2.5.7) does not match
*** library (version 2.5.8)
configure: error: *** libmcrypt was not found
Is there a step by step instructions that I can follow. I can follow directions (that what I did and it didn't work). I don't know why I'm having such trouble. I don't usually have such trouble installing things, but this one is killing me! :(
Maybe you should pay some professionals to install this for you? I believe there are many of them like Steven, Scott, etc who should be able to help you in this without issues. ;)
teachforjune-Scott
01-14-2010, 01:06 AM
I have a system admin company who could do it for me, but I'd like to learn and they're not the best at explaining things. I learn best by doing. But thanks!