您的位置:首页 > 编程语言 > PHP开发

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编译时没碰上此问题
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: