尝试在centos5下运行phantomjs2
在redhat5上運行plantomjs 2,出現(xiàn)如下錯誤
bin/phantomjs: /lib64/libz.so.1: no version information available (required by bin/phantomjs)
bin/phantomjs: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by bin/phantomjs)
bin/phantomjs: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by bin/phantomjs)
bin/phantomjs: /lib64/libc.so.6: version `GLIBC_2.9' not found (required by bin/phantomjs)
bin/phantomjs: /lib64/libc.so.6: version `GLIBC_2.10' not found (required by bin/phantomjs)
bin/phantomjs: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by bin/phantomjs)
搜索了很多都說是glibc的版本低的問題。
?
官方說,不會再支持redhat5了。崩潰中,不過redhat5的確很老了,都是十年前的東東了。
We're not planning to support CentOS 5, its glibc is too old. See?#13940?for details.
于是循著《libc.so.6: version `GLIBC_XXX' not found》?這篇文中提到的方法升級。當中提到了需要
禁用multiarch,在?http://stackoverflow.com/questions/7647818/glibc-elf-file-os-abi-invalid 也有提到。
解決了部分,但還是要升級?GLIBCXX_3.4.9,但glibcxx不單獨提供,在gcc源碼包中,無奈下只得編譯gcc。
可以參考這篇文章?https://github.com/qiwsir/ITArticles/blob/master/Linux/How_to_solve_GLIBCXX_3.4.19.md。
?
最終發(fā)現(xiàn)還是不行。
bin/phantomjs: symbol lookup error: bin/phantomjs: undefined symbol: _ZZN9QtPrivate15ConnectionTypesINS_4ListIP7QObjectvEELb1EE5typesEvE1t
貌似需要升級qt。放棄了。。。
?
轉(zhuǎn)載于:https://www.cnblogs.com/westfly/p/5297722.html
總結(jié)
以上是生活随笔為你收集整理的尝试在centos5下运行phantomjs2的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: JMeter插件之 BlazeMeter
- 下一篇: DES加密实现的思想及代码