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

Broken submodule src/scanmem #1

Open
vi opened this issue Oct 25, 2016 · 4 comments
Open

Broken submodule src/scanmem #1

vi opened this issue Oct 25, 2016 · 4 comments

Comments

@vi
Copy link

vi commented Oct 25, 2016

It references commit 2dfe5f3d16492dd66203ec5dbc56ca32575a3834 which is not available in scanmem repository.

There is also no .gitmodules.

Maybe you have accidentally used git add to inner Git repository without intention to create a submodule in the first place? You should probably re-add src/scanmem as usual files insteda of a subrepository.

Pre-built version also fails BTW: CANNOT LINK EXECUTABLE: could not load library "libscanmem.so" needed by "./scanmem"; caused by cannot locate symbol "signal" referenced by "libscanmem.so"...

@DataKinds
Copy link
Owner

Oops! Yeah, I was definitely trying to just add that specific version of scanmem's source, not create a submodule. Thanks for pointing that out. As for the prebuilt version, perhaps you forgot to place the libraries in /system/lib? That's the only plausible issue that I could think of, other than maybe weirdness with how your phone's partitions are set up and/or the filepath of the executable. Not sure that it would really make a difference though. What model phone do you have?

@DataKinds DataKinds reopened this Oct 28, 2016
@vi
Copy link
Author

vi commented Oct 28, 2016

H60-L12 running Android 4.4.2.

If you read error message attentively, you notice that it points to missing symbol signal (probably among others) used by libscanmem.so, not inability to find the library.

This symbol is supposed to be present in libc in Android 5, but not in 4.4.

@DataKinds
Copy link
Owner

Bizarre. I've only tested the executable on my Nexus 6 running Android 6, so I guess that executable just isn't compatible with previous libc's included with Android. I'll push the compilation scripts and specific version of scanmem that I'd used once I find the files again, so other versions of android can be supported again.

@kennyquek
Copy link

Hi. i am using android version 4.4.4. But i am still getting this error:
CANNOT LINK EXECUTABLE: could not load library "libscanmem.so" needed by "scanmem"; caused by cannot locate symbol "signal" referenced by "libscanmem.so"...

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

3 participants