노력과 삽질 퇴적물
에러: mcrypt.h not found. Please reinstall libmcrypt. 본문
[root]# cd /usr/local/php-5.4.25
[root]# ./configure --enable-cgi --enable-fpm --with-mcrypt ... ... ...
... ... ...
configure: error: mcrypt.h not found. Please reinstall libmcrypt.
환경.
OS: 리눅스 레드햇7 (redhat 7)
php: php-5.4.25.tar.gz
해결법.
1 2 3 4 5 6 7 8 9 10 11 12 13 | [root]# cd /usr/local [root]# wget http://sourceforge.net/projects/mcrypt/files/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz [root]# tar xzf libmcrypt-2.5.8.tar.gz [root]# cd libmcrypt-2.5.8 [root]# ./configure [root]# make [root]# make install [root]# vi /etc/ld.so.conf (vi editor) include ld.so.conf.d/*.conf /usr/local/lib # ldconfig |
참조.
php 설치 에러 configure: error: mcrypt.h not found. Please reinstall libmcrypt. | DJ Tarot
'📂게임개발 note > 에러&버그' 카테고리의 다른 글
에러: ^M bad interpreter (0) | 2015.11.07 |
---|---|
에러: virtual memory exhausted: Cannot allocate memory (0) | 2015.02.09 |
에러: MySQL workbench, Failed to Connect (0) | 2015.01.07 |
에러: SQL Error (2003): Can't connect to MySQL (0) | 2015.01.07 |
에러: emulator window was out of view (0) | 2014.10.19 |