I try to run on Android 10 python (including ctypes), but to load the c + + written. So, appear the following error, ffi_prep_closure_loc has been libffi. So defined libffio. So have also been under the/system/lib64/, don't know why there will be always locate a symbol of the problem, please directly, thanks!
ImportError: dlopen failed: always locate a symbol "ffi_prep_closure_loc" referenced by "/system/lib64/_ctypes retaining 37 m. so"...
CodePudding user response:
Your library file in _ctypes. Retaining 37 m. so
CodePudding user response:
In/system/lib64/, what do you mean?