Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Failed to load the Frida native extension on Ubuntu 16.04

未关闭
#148 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
python
领域
devtools

调研方向

首先,在报告中的 Odroid 上运行的 Ubuntu 16.04 中,使用 issue 里的扩展路径和 traceback 重现从 loader.py 导入的过程。检查为什么 _frida.cpython-36m-arm-linux-gnueabihf.so 明明存在却无法加载,并比较已安装的 frida 软件包内容;当平台特定原因和经过验证的解决方案都完成记录后,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Hi everyone,
I have a problem when I run frida:

***
Failed to load the Frida native extension: /usr/local/lib/python3.6/dist-packages/_frida.cpython-36m-arm-linux-gnueabihf.so: cannot open shared object file: No such file or directory
Please ensure that the extension was compiled for Python 3.x.
***

Traceback (most recent call last):
  File "loader.py", line 2, in <module>
    import frida
  File "/usr/local/lib/python3.6/dist-packages/frida/__init__.py", line 24, in <module>
    raise ex
  File "/usr/local/lib/python3.6/dist-packages/frida/__init__.py", line 7, in <module>
    import _frida
ImportError: /usr/local/lib/python3.6/dist-packages/_frida.cpython-36m-arm-linux-gnueabihf.so: cannot open shared object file: No such file or directory

But I've checked that the file: /usr/local/lib/python3.6/dist-packages/_frida.cpython-36m-arm-linux-gnueabihf.so
is there:

ll /usr/local/lib/python3.6/dist-packages/
total 57660
drwxrwsr-x 6 root staff     4096 Apr  4 02:35 ./
drwxrwsr-x 3 root staff     4096 Apr  4 02:23 ../
-rw-r--r-- 1 root staff 59015804 Apr  4 02:35 _frida.cpython-36m-arm-linux-gnueabihf.so
drwxr-sr-x 3 root staff     4096 Apr  4 02:35 frida/
drwxr-sr-x 2 root staff     4096 Apr  4 02:35 frida-12.4.7.dist-info/
drwxr-sr-x 5 root staff     4096 Apr  4 02:32 pip/
drwxr-sr-x 2 root staff     4096 Apr  4 02:32 pip-19.0.3.dist-info/

My system: Ubuntu 16.04 in Odroid.

主要语言
Python
星标
873
派生
173
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

frida/frida-python 的其他 Issue

查看 frida/frida-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。