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

unexpected e_machine: 3 #621

Closed
ajurna opened this issue Feb 15, 2018 · 6 comments
Closed

unexpected e_machine: 3 #621

ajurna opened this issue Feb 15, 2018 · 6 comments

Comments

@ajurna
Copy link

ajurna commented Feb 15, 2018

Hello when i compile my apk file i get the following error on the console. not sure what exactly i need to do to fix it.

02-15 14:29:53.969  9343  9546 I python  : Android kivy bootstrap done. __name__ is __main__
02-15 14:29:53.969  9343  9546 I python  : AND: Ran string
02-15 14:29:53.969  9343  9546 I python  : Run user program, change dir and execute entrypoint
02-15 14:29:53.969  9343  9546 I python  : main.py
02-15 14:29:54.155  9343  9546 I python  : Traceback (most recent call last):
02-15 14:29:54.155  9343  9546 I python  :   File "main.py", line 4, in <module>
02-15 14:29:54.156  9343  9546 I python  :     import cv2
02-15 14:29:54.156  9343  9546 I python  :   File "/data/user/0/org.test.myapp/files/app/crystax_python/site-packages/cv2/__init__.py", line 4, in <module>
02-15 14:29:54.156  9343  9546 I python  :     from .cv2 import *
02-15 14:29:54.156  9343  9546 I python  : ImportError: dlopen failed: "/data/data/org.test.myapp/files/app/crystax_python/site-packages/cv2/cv2.so" has unexpected e_machine: 3
02-15 14:29:54.164  9343  9546 I python  : Python for android ended.
@inclement
Copy link
Member

This means the library is built for the wrong architecture - I guess it's probably a bug with the opencv recipe.

@ajurna
Copy link
Author

ajurna commented Feb 19, 2018

ok, any chance you could point me in the right direction? any part of the docs that would help?

@inclement
Copy link
Member

Closing as stale, I don't think this error is occurring any more.

@joshuapaul2005
Copy link

Hi I am facing the same issue as well please help me

@Vampirebat
Copy link

Loading library: sqlite3
V Library loading error: dlopen failed: "/data/ap
p/org.test.tcfeb231-lNtqjD9OUYXH0qPtE1HAzQ==/li
b/arm/libsqlite3.so" has unexpected e_machine:
40 (EM_ARM)
V An UnsatisfiedLinkError occurred loading sqlite
3
System.err W dlopen failed: "/data/app/org.test.tcfeb231-lNt
qjD9OUYXH0qPtE1HAzQ==/lib/arm/libsqlite3.so" ha
s unexpected e_machine: 40 (EM_ARM)
g.test.tcfeb23 E No implementation found for void org.libsdl.app
.SDLActivity.nativeSetenv(java.lang.String, jav
a.lang.String) (tried Java_org_libsdl_app_SDLAc
tivity_nativeSetenv and Java_org_libsdl_app_SDL
Activity_nativeSetenv__Ljava_lang_String_2Ljava
_lang_String_2)

@jspuser123
Copy link

Loading library: sqlite3
V Library loading error: dlopen failed: "/data/ap
p/org.test.tcfeb231-lNtqjD9OUYXH0qPtE1HAzQ==/li
b/arm/libsqlite3.so" has unexpected e_machine:
40 (EM_ARM)
V An UnsatisfiedLinkError occurred loading sqlite
3
System.err W dlopen failed: "/data/app/org.test.tcfeb231-lNt
qjD9OUYXH0qPtE1HAzQ==/lib/arm/libsqlite3.so" ha
s unexpected e_machine: 40 (EM_ARM)
g.test.tcfeb23 E No implementation found for void org.libsdl.app
.SDLActivity.nativeSetenv(java.lang.String, jav
a.lang.String) (tried Java_org_libsdl_app_SDLAc
tivity_nativeSetenv and Java_org_libsdl_app_SDL
Activity_nativeSetenv__Ljava_lang_String_2Ljava
_lang_String_2)

same issue

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

No branches or pull requests

5 participants