[install-pear-installer] Error 127 安装PHP时错误
2012-04-03 15:28
831 查看
nstalling PEARenvironment:
/usr/local/php/lib/php/
/usr/local/src/php-5.2.6/sapi/cli/php: error while loading sharedlibraries: libltdl.so.3: cannot open shared object file: No suchfile or directory
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2
ln -s /usr/local/lib/libltdl.so.3/usr/lib/libltdl.so.3
[root@localhost php-5.2.6]# make install
Installing PHP SAPImodule: apache2handler
/usr/local/apache2/build/instdso.shSH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la/usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp5.la/usr/local/apache2/modules/
cp .libs/libphp5.so /usr/local/apache2/modules/libphp5.so
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish/usr/local/src/php-5.2.6/libs'
chmod 755 /usr/local/apache2/modules/libphp5.so
[activating module `php5' in /etc/httpd/httpd.conf]
Installing PHP CLIbinary: /usr/local/php/bin/
Installing PHP CLI manpage: /usr/local/php/man/man1/
Installing buildenvironment: /usr/local/php/lib/php/build/
Installing headerfiles: /usr/local/php/include/php/
Installing helperprograms: /usr/local/php/bin/
program: phpize
program: php-config
Installing manpages: /usr/local/php/man/man1/
page: phpize.1
page: php-config.1
Installing PEARenvironment: /usr/local/php/lib/php/
[PEAR] Console_Getopt - installed: 1.2.3
[PEAR]Archive_Tar -installed: 1.3.2
[PEAR] Structures_Graph- installed: 1.0.2
pear/PEAR can optionally use package "pear/XML_RPC" (version>= 1.4.0)
[PEAR]PEAR - installed: 1.7.1
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.iniinclude_path
Installing PDOheaders: /usr/local/php/include/php/ext/pdo/
本文出自 “电子商务解决方案” 博客,请务必保留此出处http://wmrwx.blog.51cto.com/1418507/824665
/usr/local/php/lib/php/
/usr/local/src/php-5.2.6/sapi/cli/php: error while loading sharedlibraries: libltdl.so.3: cannot open shared object file: No suchfile or directory
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2
ln -s /usr/local/lib/libltdl.so.3/usr/lib/libltdl.so.3
[root@localhost php-5.2.6]# make install
Installing PHP SAPImodule: apache2handler
/usr/local/apache2/build/instdso.shSH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la/usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp5.la/usr/local/apache2/modules/
cp .libs/libphp5.so /usr/local/apache2/modules/libphp5.so
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish/usr/local/src/php-5.2.6/libs'
chmod 755 /usr/local/apache2/modules/libphp5.so
[activating module `php5' in /etc/httpd/httpd.conf]
Installing PHP CLIbinary: /usr/local/php/bin/
Installing PHP CLI manpage: /usr/local/php/man/man1/
Installing buildenvironment: /usr/local/php/lib/php/build/
Installing headerfiles: /usr/local/php/include/php/
Installing helperprograms: /usr/local/php/bin/
program: phpize
program: php-config
Installing manpages: /usr/local/php/man/man1/
page: phpize.1
page: php-config.1
Installing PEARenvironment: /usr/local/php/lib/php/
[PEAR] Console_Getopt - installed: 1.2.3
[PEAR]Archive_Tar -installed: 1.3.2
[PEAR] Structures_Graph- installed: 1.0.2
pear/PEAR can optionally use package "pear/XML_RPC" (version>= 1.4.0)
[PEAR]PEAR - installed: 1.7.1
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.iniinclude_path
Installing PDOheaders: /usr/local/php/include/php/ext/pdo/
本文出自 “电子商务解决方案” 博客,请务必保留此出处http://wmrwx.blog.51cto.com/1418507/824665
相关文章推荐
- make[1]: *** [install-pear-installer] Error 127
- php -- pecl 安装模块时出现"pear.php.net is using a unsupported protocal - This should never happen. install failed "错误
- 关于安装php时的libmysqlclient.so.18错误Error 127
- make[1]: *** [install-pear-installer] Error 127
- make[1]: *** [install-pear-installer] Error 127
- 转 php安装错误configure: error: Please reinstall the libcurl distribu
- VM安装错误提示(Failed to create the requested registry keyKey:Installer Error: 1021)
- VMWare Workstation 7 安装错误(Failed to create the requested registry keyKey:Installer Error: 1021)
- Android安装应用程序出现“INSTALL_FAILED_CONTAINER_ERROR”错误的解决办法
- PHP源码安装mcrypt扩展error: ‘PHP_FE_END’ undeclared here (not in a function)错误处理
- Android安装应用程序出现“INSTALL_FAILED_CONTAINER_ERROR”错误的解决办法 .
- 安装PHP sphinx扩展 sphinx-1.1.0/sphinx.c:105:2: error: too few arguments 错误
- PHP安装错误 configure: error: xml2-config not found. Please check your libxml2 installation.
- 在Linux下安装PHP过程中,编译时出现configure: error: libjpeg.(a|so) not found 错误的解决办法
- 安装PHP常见错误解决error
- 安装PHP时 jpeglib.h:954: error:expected declaration specifiers or ‘...’ before ‘FILE’ 错误解决
- WIN8安装MySQL-5.6报这个错误: The installer has encountered an unexpected error installing this package.This
- php中pear安装出现错误