Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
invalid ELF header
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Shineatspot
n00b
n00b


Joined: 23 Apr 2018
Posts: 2

PostPosted: Mon Apr 23, 2018 6:16 am    Post subject: invalid ELF header Reply with quote

I was following Gentoo Android Project Guide https://wiki.gentoo.org/wiki/Project:Android/tarball
But after extraction I am stuck at this error while executing startprefix script
Code:
/data/gentoo64/bin/bash: error while loading shared libraries: /data/gentoo64/usr/lib64/libc.so: invalid ELF header

Here is content of libc.so
Code:

# cat libc.so                             /* GNU ld script                             Use the shared library, but some functions are only in                              the static library, so try that secondarily.  */                                 OUTPUT_FORMAT(elf64-littleaarch64)
GROUP ( /data/gentoo64/lib64/libc.so.6 /data/gentoo64/usr/lib64/libc_nonshared.a  AS_NEEDED ( /data/gentoo64/lib64/ld-linux-aarch64.so.1 ) )
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 7972
Location: ~Brussels - Belgique

PostPosted: Mon Apr 23, 2018 6:19 am    Post subject: Reply with quote

Hi,

Is your android system 64 bits compatible?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Shineatspot
n00b
n00b


Joined: 23 Apr 2018
Posts: 2

PostPosted: Mon Apr 23, 2018 6:21 am    Post subject: Reply with quote

xaviermiller wrote:
Hi,

Is your android system 64 bits compatible?

Off course yes and my device architecture is aarch64
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum