【问题标题】:Why can't I run the file located in the bin?为什么我不能运行位于 bin 中的文件?
【发布时间】:2015-03-19 19:18:16
【问题描述】:

需要使用flare文件和flasm,chown和权限都正确。为什么只能运行一个而不能运行另一个?

-rwxr-xr-x  1 daniela.morais sudo    64808 Mar 19 13:54 flare*
-rwxr-xr-x  1 daniela.morais sudo   108525 Mar 19 13:48 flasm*
daniela.morais@tusk:/usr/local/bin$ flare

Flare 0.6 build Jun 11 2007

Copyright (c) 2003-2005 Igor Kogan
All rights reserved. See LICENSE.TXT for terms of use.

Usage: flare filename.swf
Decompiled ActionScript code is stored in filename.flr.
daniela.morais@tusk:/usr/local/bin$ flasm
bash: /usr/local/bin/flasm: No such file or directory

Flare:http://www.nowrap.de/flare.html Flasm:http://www.nowrap.de/flasm.html

【问题讨论】:

  • file flare flasm 报告什么?
  • 你是否启用了 SE Linux 和一些有趣的权限?
  • 你从head ./flasm 得到什么?可能它取决于未找到的脚本解释器。
  • 当我尝试在文件夹内运行时,显示“bash : ./flasm : No such file or directory”。耀斑工作正常。我有管理员权限。
  • 错误的 ELF 解释器是另一种可能性。 readelf -l 在工作程序和非工作程序上并进行比较。

标签: linux shell ubuntu terminal


【解决方案1】:

这意味着 flasm 不在你调用它的目录中,检查它的位置:

find / -name 'flasm' 

或者使用 locate 和 whereis 调用

【讨论】:

  • daniela.morais@tusk:/usr/local/bin$ whereis flasm flasm: /usr/local/bin/flasm
【解决方案2】:

试试下面的命令:

sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1

【讨论】:

    猜你喜欢
    • 2016-08-15
    • 2015-12-23
    • 1970-01-01
    • 2013-01-27
    • 2013-07-05
    • 2015-06-30
    • 1970-01-01
    • 2016-04-18
    相关资源
    最近更新 更多