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

"libandroid_runtime.so" is 64-bit instead of 32-bit #192

Closed
mtsdesign opened this issue Nov 16, 2016 · 8 comments
Closed

"libandroid_runtime.so" is 64-bit instead of 32-bit #192

mtsdesign opened this issue Nov 16, 2016 · 8 comments

Comments

@mtsdesign
Copy link

Hi there,
Have an isue when running the terminux-setup-storage command. The command gives an error CANNOT LINK EXECUTABLE DEPENDENCIES: "libandroid_runtime.so" is 64-bit instead of 32-bit.
I am on an unrooted kindle fire 6th gen (which is 64bit)

Many thanks for the great product.
MTS

@Neo-Oli
Copy link
Member

Neo-Oli commented Jan 3, 2017

What is the output of dpkg --print-architecture?

@renebruns
Copy link

Chiming in here as I have the same issue on my Kindle Fire HD 8 (2016):

Created some debugging output:

$ termux-setup-storage
CANNOT LINK EXECUTABLE DEPENDENCIES: "libandroid_runtime.so" is 64-bit instead of 32-bit

$ uname -a
Linux localhost 3.18.19-g1f9a828 #1 SMP PREEMPT Thu Dec 1 11:53:01 UTC 2016 armv8l Android

$ dpkg --print-architecture
arm

$ file /system/lib/libandroid.so
/system/lib/libandroid.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /system/bin/linker, stripped

$ file /system/lib64/libandroid.so
/system/lib64/libandroid.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, stripped

$ getprop | grep cpu
[ro.boot.secure_cpu]: [1]
[ro.product.cpu.abi]: [arm64-v8a]
[ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]
[ro.product.cpu.abilist64]: []
[ro.product.cpu.abilist]: [armeabi-v7a,armeabi]

Hope that helps. Let me know if you need anything more.

@mtsdesign
Copy link
Author

mtsdesign commented Jan 6, 2017 via email

@fornwall
Copy link
Member

fornwall commented Jan 7, 2017

Could you affected print the output of running:

ls -lha /system/bin/linker* /system/bin/app_process

@mtsdesign
Copy link
Author

mtsdesign commented Jan 7, 2017 via email

@renebruns
Copy link

Exactly the same here

@fornwall
Copy link
Member

fornwall commented Jan 8, 2017

@renebruns @mtsdesign Thanks for the information!

Could you run apt update && apt upgrade to update to version 0.34 of the termux-tools package and check if that resolves this issue?

@mtsdesign
Copy link
Author

mtsdesign commented Jan 9, 2017 via email

@fornwall fornwall closed this as completed Mar 4, 2017
@ghost ghost locked and limited conversation to collaborators Oct 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants