Error loading shared library. Invalid ELF header

18 views
Skip to first unread message

jmc...@hotmail.com

unread,
Apr 10, 2017, 11:14:49 AM4/10/17
to BeagleBoard
I am trying to compile a simple C program but I'm getting the following error:

user~$ gcc HelloWorldSleep.c -o HelloWorldSleep

/usr/lib/gcc/arm-linux-gnueabihf/4.9/cc1: error while loading shared libraries: /usr/lib/arm-linux-gnueabihf/libisl.so.10: invalid ELF header

Does this mean I need to upgrade gcc or one of its libraries?

William Hermans

unread,
Apr 10, 2017, 4:11:45 PM4/10/17
to beagl...@googlegroups.com
This sounds like a platform incompatibility issue. e.g. something you're trying to use it not meant for the ARM ABI. In other words, perhaps either your executable, or shared library is for x86 or x86-64.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/6663a646-840a-4e30-9676-0d714656d968%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages