Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named libelsign #26

Closed
GoogleCodeExporter opened this issue Feb 13, 2016 · 4 comments
Closed

ImportError: No module named libelsign #26

GoogleCodeExporter opened this issue Feb 13, 2016 · 4 comments

Comments

@GoogleCodeExporter
Copy link

Upon executing:
android@honeynet:~/androguard$ ./androsign.py -h

I got following error:
Traceback (most recent call last):
  File "./androsign.py", line 29, in <module>
    from elsim.elsign import dalvik_elsign
  File "./elsim/elsim/elsign/dalvik_elsign.py", line 29, in <module>
    from libelsign.libelsign import Elsign, entropy
ImportError: No module named libelsign

I am using ARE(Android Reverse Engineering) Virtual Machine

>Any ideas to get through.
thank you.

Original issue reported on code.google.com by tse...@gmail.com on 27 Mar 2012 at 10:20

@GoogleCodeExporter
Copy link
Author

please compile all sources in the main directory:

"make"

Original comment by anthony....@gmail.com on 27 Mar 2012 at 10:22

@GoogleCodeExporter
Copy link
Author

I have tried to compile,and the prompt reply:

  CCP dvm.o
In file included from dvm.cc:21:
dvm.h:23:20: error: Python.h: No such file or directory
In file included from /usr/include/c++/4.4/ext/hash_map:60,
                 from dvm.h:32,
                 from dvm.cc:21:
/usr/include/c++/4.4/backward/backward_warning.h:28:2: warning: #warning This 
file includes at least one deprecated or antiquated header which may be removed 
without further notice at a future date. Please use a non-deprecated interface 
with equivalent functionality instead. For a listing of replacement headers and 
interfaces, consult the file backward_warning.h. To disable this warning use 
-Wno-deprecated.
In file included from dvm.cc:21:
dvm.h:167: error: ISO C++ forbids declaration of ‘PyObject_HEAD’ with no 
type
dvm.h:169: error: ISO C++ forbids declaration of ‘PyObject’ with no type
dvm.h:169: error: expected ‘;’ before ‘*’ token
               .
               .
               . 


still "android@honeynet:~/androguard$ ./androsign.py -h" command doesn't work.

Original comment by tse...@gmail.com on 27 Mar 2012 at 11:42

@GoogleCodeExporter
Copy link
Author

dvm.h:23:20: error: Python.h: No such file or directory

install python2.7-dev

Original comment by anthony....@gmail.com on 27 Mar 2012 at 11:44

@GoogleCodeExporter
Copy link
Author

Original comment by anthony....@gmail.com on 27 Mar 2012 at 3:16

  • Changed state: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant