Skip to content

_sqlite3.so: has text relocations #10

@danielrosero

Description

@danielrosero

I'm trying to get Instabot running inside Android.
I managed to import all the dependencies successfully, but came to this issue with _sqlite3.

So far I have tried to replace sqlite3.so with other compilations unsuccessfully.

Any change you can help?

Thanks for this project.

ux:/data/data/com.android.python27/files` # python example.py                                       
WARNING:` linker: Warning: unable to normalize ""

WARNING: linker: Warning: unable to normalize ""
WARNING: linker: Warning: unable to normalize ""
WARNING: linker: Warning: unable to normalize ""
WARNING: linker: Warning: unable to normalize ""
WARNING: linker: /data/data/com.android.python27/files/python/lib/python2.7/lib-dynload/_sqlite3.so: unused DT entry: type 0xf arg 0x1591
Traceback (most recent call last):
  File "example.py", line 6, in <module>
    from src import InstaBot
  File "/data/data/com.android.python27/files/src/__init__.py", line 1, in <module>
    from .instabot import InstaBot
  File "/data/data/com.android.python27/files/src/instabot.py", line 15, in <module>
    import sqlite3
  File "/data/data/com.android.python27/files/packages/python/sqlite3/__init__.py", line 24, in <module>
    from dbapi2 import *
  File "/data/data/com.android.python27/files/packages/python/sqlite3/dbapi2.py", line 27, in <module>
    from _sqlite3 import *
ImportError: dlopen failed: /data/data/com.android.python27/files/python/lib/python2.7/lib-dynload/_sqlite3.so: has text relocations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions