2010-08-08 13:33
cannot find -lltdl ,編譯php又出錯了
php在make過程中出現“usr bin ld cannot find lltdl”錯誤,詳細錯誤如下: /usr/bin/ld: cannot find -lltdl collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1
在Google上搜了好久,終于找到答案,原來是在編輯php時添加的“–with-mcrypt”選項造成。是以“usr bin ld cannot find lltdl”錯誤解決辦法如下:
1、如果不需要mcrypt,那麼編輯php時去掉該選項,然後再make、make install。