configure: error: *** libmcrypt was not found
為了的到mcrypt.so庫文件,先後安裝編譯了mhash和libmcrypt,但是到最後編譯mcrypt時報錯:
configure: error: *** libmcrypt was not found
最後發現是因為環境變量的問題,gcc編譯的時候根據自身定義的變量尋找相關函數庫等文件,libmcrypt也是剛安裝的,在變量中沒有定義出來,所以手動添加:
[root@localhost modules]# export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
再次編譯即可。
iptables failed. The error was: Applying iptables firewall rules: FATAL: Module ip_tables not found
Fedora 17 GRUB2 啟動時出現錯誤:error: file ‘/boot/grub2/locale/en.mo.gz’ not found
Linux下安裝過程中編譯PHP時報錯:configure: error: libjpeg.(a|so) not found
Jetty Struts2 Result ‘Null’ Not Found
解決Ubuntu編譯內核uImage出現問題“mkimage” command not found - U-Boot images will not be built問題