zoukankan      html  css  js  c++  java
  • 尝试在centos5下运行phantomjs2

    在redhat5上运行plantomjs 2,出现如下错误

    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。

    最终发现还是不行。

    bin/phantomjs: symbol lookup error: bin/phantomjs: undefined symbol: _ZZN9QtPrivate15ConnectionTypesINS_4ListIP7QObjectvEELb1EE5typesEvE1t

    貌似需要升级qt。放弃了。。。

  • 相关阅读:
    iOS Button选中与取消
    IOS-UIButton的文本与图片的布局
    iOS滑动tableView来改变导航栏的颜色
    Mac下Vim编辑快捷键小结
    iOS 比较版本号大小的方法
    Symbol
    call和apply的区别及用法
    关于高并发
    java.io.IOException: Stream closed 的问题
    通俗易懂的 Java 位操作运算讲解
  • 原文地址:https://www.cnblogs.com/westfly/p/5297722.html
Copyright © 2011-2022 走看看