LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Encounter problems when installing mcrypt (https://www.linuxquestions.org/questions/linux-server-73/encounter-problems-when-installing-mcrypt-502050/)

chu2654 11-15-2006 09:25 PM

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 ?

unSpawn 11-19-2006 05:23 PM

Could not run libmcrypt test program, checking why ...
You didn't make and install libmcrypt before mcrypt?


All times are GMT -5. The time now is 03:10 AM.