Skip to content
This repository has been archived by the owner on Aug 8, 2019. It is now read-only.

Unset LD_PRELOAD #1

Merged
merged 1 commit into from Feb 5, 2018
Merged

Unset LD_PRELOAD #1

merged 1 commit into from Feb 5, 2018

Conversation

fornwall
Copy link
Contributor

@fornwall fornwall commented Feb 5, 2018

By unsetting LD_PRELOAD we avoid issues on some devices where dex2oat is a 32-bit binary, resuting in:

CANNOT LINK EXECUTABLE "/system/bin/dex2oat":
"libtermux-exec.so" is 64-bit instead of 32-bit

Also switch from bash to sh as the script doesn't require bash.

This unsetting of LD_PRELOAD is patched into the 0.1-1 version of the termux-am package to fix the issue above (reported in termux/termux-api#105).

By unsetting LD_PRELOAD we avoid issues on some devices where
dex2oat is a 32-bit binary, resuting in:

CANNOT LINK EXECUTABLE "/system/bin/dex2oat":
"libtermux-exec.so" is 64-bit instead of 32-bit

Also switch from bash to sh as the script doesn't require bash.
fornwall added a commit to termux/termux-packages that referenced this pull request Feb 5, 2018
@michalbednarski michalbednarski merged commit 9202c35 into michalbednarski:master Feb 5, 2018
@michalbednarski
Copy link
Owner

Thanks, I'll send pull request to termux-packages soon.

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

Successfully merging this pull request may close these issues.

None yet

2 participants