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
解决方法:
于是我又: cd ext/phar/
即路径:/usr/local/src/php-5.3.26/ext/phar
ls -l
结果发现没有phar.phar 这个文件!!于是我怀疑是phar.php ,
cp ./phar.php ./phar.phar
make install
OK
Wrote PEAR system config file at: /usr/local/php/etc/pear.conf
You may want to add: /usr/local/php/lib/php to your php.ini include_path
[PEAR] Structures_Graph- installed: 1.0.4
[PEAR] XML_Util - installed: 1.2.1
/usr/local/src/php-5.3.26/build/shtool install -c ext/phar/phar.phar /usr/local/php/bin
cp: cannot stat `ext/phar/phar.phar': No such file or directory
解决方法:
同上