【问题标题】:Segmentation fault (core dumped) when i run 'phantomjs' command in ubundu12.04当我在 ubundu12.04 中运行“phantomjs”命令时出现分段错误(核心转储)
【发布时间】:2015-03-02 12:08:39
【问题描述】:

当我尝试安装 phantomjs 时,在所有进展之后,我运行

$:phantomjs -v . 
$ : Permission denied

然后我运行

$: sudo chmod 755 /usr/local/share/phantomjs

每当我运行命令“phantomjs”之后, ubuntu 报错

Segmentation fault (core dumped)

【问题讨论】:

  • 嗨..,我自己解决了。我已经从 /usr/ 文件夹中删除了所有 phantomjs 相关文件。 -
  • 那么我要感谢@Klas Lindbäck 格式化我的问题。
  • 您应该将您的解决方案写成答案并接受它。这样一来,该问题就会从未回答的问题列表中删除,并且其他有相同问题的人会更容易找到您的解决方案。
  • 我在我关注的内容下方添加了我的答案

标签: ubuntu installation segmentation-fault phantomjs coredump


【解决方案1】:

问题是由安装在其他地方的旧版本 phantomjs 引起的。 我从以下位置删除了 phanthomjs 相关文件,然后它工作了:

/usr/bin/phanthomjs
/usr/local/share/phanthomjs
/usr/local/bin/phanthomjs

【讨论】:

  • 但我无法安装最新版本的 phantomjs 。
猜你喜欢
  • 1970-01-01
  • 2014-09-30
  • 2013-05-04
  • 1970-01-01
  • 2016-01-11
  • 1970-01-01
  • 2018-10-13
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多