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。放弃了。。。

  • 相关阅读:
    linux输出信息调试信息重定向
    JDBC复习
    在Java中用for循环打印菱形
    深入.NET框架
    C#中等号左右的文本值交换
    使用集合组织相关数据
    深入类的方法
    值传递和引用传递专题案例
    深入C#数据类型
    Computer Vision Rescources
  • 原文地址:https://www.cnblogs.com/westfly/p/5297722.html
Copyright © 2011-2022 走看看