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


解决方法:

于是我又: 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


解决方法:

同上

本文出自 “tenjhon” 博客,请务必保留此出处http://tengzhaoyong.blog.51cto.com/6704978/1398082

php安装报错,布布扣,bubuko.com

php安装报错

上一篇:jsp提交表单给action出现乱码处理


下一篇:heartbeat+NFS实现web故障转移集群