因为一些旧项目需要用php5.3版本,所以没办法,只能安装这个已经成为了历史的php版本。
make install时遇到了报错
/usr/bin/ld.bfd.real: ext/intl/msgformat/msgformat_helpers.o: undefined reference ...
/usr/bin/ld.bfd.real: note: '__gxx_personality_v0@@CXXABI_1.3' is defined in DSO ...
/usr/lib/x86_64-linux-gnu/libstdc++.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [sapi/fpm/php-fpm] Error 1
Error
解决方法:
sed -i '/^BUILD_/ s/\$(CC)/\$(CXX)/g' Makefile
参考:
https://blog.gcos.me/2012-10-19_how-to-compile-php53-on-64bit-linux-macos.html
相关文档
暂无
随便看看
畅言模块加载中