Ubuntu 12.10下编译安装PHP 5.3.19时扩展intl失败
2012-12-01 16:33
806 查看
编译时 ./configure –enable-intl,
make
报错信息如下:
/usr/bin/ld: ext/intl/msgformat/msgformat_helpers.o: undefined reference to symbol '__gxx_personality_v0@@CXXABI_1.3'
/usr/bin/ld: note: '__gxx_personality_v0@@CXXABI_1.3' is defined in DSO /usr/lib/x86_64-linux-gnu/libstdc++.so.6 so try adding it to the linker command line
/usr/lib/x86_64-linux-gnu/libstdc++.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
有人说这是php本身bug,bug提交url: https://bugs.php.net/bug.php?id=48795
解决方案:
参考此文 http://blog.gcos.me/2012-10-19_how-to-compile-php53-on-64bit-linux-macos.html
如果不去修改 Makefile不知道是不是可以呢?
有好的解决方案希望告知
PHP 5.4.19编译时没碰上此问题
make
报错信息如下:
/usr/bin/ld: ext/intl/msgformat/msgformat_helpers.o: undefined reference to symbol '__gxx_personality_v0@@CXXABI_1.3'
/usr/bin/ld: note: '__gxx_personality_v0@@CXXABI_1.3' is defined in DSO /usr/lib/x86_64-linux-gnu/libstdc++.so.6 so try adding it to the linker command line
/usr/lib/x86_64-linux-gnu/libstdc++.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
有人说这是php本身bug,bug提交url: https://bugs.php.net/bug.php?id=48795
解决方案:
参考此文 http://blog.gcos.me/2012-10-19_how-to-compile-php53-on-64bit-linux-macos.html
如果不去修改 Makefile不知道是不是可以呢?
有好的解决方案希望告知
PHP 5.4.19编译时没碰上此问题
相关文章推荐
- Ubuntu12下编译安装PHP5.3开发环境
- Ubuntu 11.04编译安装nginx、PHP 5.3、mysql、mongodb、memcached、ssl、smtp
- ubuntu下编译安装xcache for php5.3
- fastdfs在ubuntu的编译安装,php扩展fastdfs的安装
- ubuntu下编译安装xcache for php5.3
- ubuntu16.04编译安装mysql-boost-5.7.21并编译成php扩展测试与使用
- ubuntu下编译安装xcache for php5.3 的具体操作步骤
- ubuntu 13.04编译安装php 5.3
- ubuntu下编译安装xcache for php5.3 的具体操作步骤
- Ubuntu 安装php_intl 扩展
- Mac OS X 下 php 扩展 memcached 编译安装失败
- ubuntu源码编译安装php
- ubuntu安装php添加php扩展
- Ubuntu16.04编译安装php
- Linux(CentOS)下PHP扩展PDO编译安装的方法
- ubuntu 编译安装php环境(可自由选择php版本)
- ubuntu下编译安装php
- ubuntu 12.04 编译、安装PHP
- 解决windows下Composer因php_openssl扩展缺失而安装失败的问题
- ubuntu 安装 php-zip 扩展