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

Error with termux-exec #1736

Closed
Auxilus opened this issue Nov 1, 2017 · 7 comments
Closed

Error with termux-exec #1736

Auxilus opened this issue Nov 1, 2017 · 7 comments
Labels
bug report Something is not working properly

Comments

@Auxilus
Copy link
Contributor

Auxilus commented Nov 1, 2017

[14:16] ~ > apksigner --help
CANNOT LINK EXECUTABLE: "/data/data/com.termux/files/usr/lib/libtermux-exec.so" is 64-bit instead of 32-bit
page record for 0xf72e000c was not found (block_size=64)
...... 
@ghost
Copy link

ghost commented Nov 1, 2017

LD_PRELOAD should be disabled for every script/program which call /system/bin/dalvik or /system/bin/app_process.

@fornwall
Copy link
Member

fornwall commented Nov 1, 2017

Hm, the dalvikvm script wrapper in $PREFIX/bin/dalvikvm already does unset LD_LIBRARY_PATH. Why is the dynamic linker still trying to use libtermux-exec.so?

@Neo-Oli
Copy link
Member

Neo-Oli commented Nov 1, 2017

@fornwall I think dalvikvm needs to unset both $LD_LIBRARY_PATH and $LD_PRELOAD

fornwall added a commit that referenced this issue Nov 1, 2017
@fornwall
Copy link
Member

fornwall commented Nov 1, 2017

@Neo-Oli Ah of course, I mixed them up in my head!

An updated version 0.48 of the termux-tools package is now available, update to it with pkg up. After that apksigner and other tools using dalvikvm should work!

@fornwall fornwall closed this as completed Nov 1, 2017
@fornwall fornwall added the bug report Something is not working properly label Nov 1, 2017
@SDRausty

This comment was marked as spam.

@Neo-Oli
Copy link
Member

Neo-Oli commented Nov 1, 2017

@SDRausty You need to unset LD_PRELOAD in your arch script as well. Like here: https://github.com/Neo-Oli/termux-ubuntu/blob/9484af655f8ba28496cade18411a173a38015e1e/ubuntu.sh#L34

@SDRausty

This comment was marked as spam.

@ghost ghost locked and limited conversation to collaborators Oct 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug report Something is not working properly
Projects
None yet
Development

No branches or pull requests

4 participants