Encounter problems when installing mcrypt
Hello,
I tried to install mcrypt-2.6.4, but when ./configure --prefix=/usr/local, there is an error message:
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 versio 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. ........
I add a line /usr/local/lib/libmcrypt in /etc/ld.so.config . I also set environment variable
LD_LIBRARY_PATH = /usr/local/lib/libmcrypt
export LD_LIBRARY_PATH
But there is still the same error. What should I do ?
|