Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [elf]

The tag has no usage guidance.

0
votes
1answer
73 views

readelf fails in qemu chroot when using absolute path

I'm trying to install java 8 SDK in a qemu emulated chrooted environment and I'm running up against the following error readelf: Error: /proc/self/exe: Failed to read file's magic number Readelf ...
0
votes
2answers
185 views

Why a binary format specification is needed for executable files?

I understand an operating system like Linux or Windows is written in C/C++ and compiled to a given architecture (for example AMD64) to produce a machine code that is suitable for that architecture. ...
1
vote
0answers
128 views

shim a library that has versioned symbols

For a library loaded by a shared object, how do I allow versioned symbols to be resolved by the executable? There is a proprietary library used by many executables on a system which has a bug in one ...
20
votes
3answers
46k views

How to determine if a linux binary file is 32-bit or 64-bit?

A 32-bit kernel (x86) can only run 32-bit code. A 64-bit kernel (x86_64) can run both 32-bit and 64-bit code. I'd like to know if a machine can run an executable: in other words, I have a binary file ...