Friday, April 26, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1547  / 2 Years ago, fri, december 17, 2021, 5:05:45

I know this question has been asked a number of times, but my system seems to contradict itself…



Following the answer to this question, I have run the following:



$ uname -a
Linux manaha 3.13.7-x86_64-linode38 #1 SMP Tue Mar 25 12:59:48 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
$ file /sbin/init
/sbin/init: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0xc0d86a25a7abb14cad4a65a1f7d03605bcbd41f6, stripped


So, while uname seems to suggest 64-bit, /sbin/init suggests 32-bit. What's happening here?


More From » 64-bit

 Answers
5

In computing, the Executable and Linkable Format (ELF) is a common standard file format for executables, object code, shared libraries, and core dumps. In your question /sbin/init: ELF 32-bit LSB shared object identifies ELF as the format for a 32-bit shared object from a shared library. Your operating system is a 64-bit OS that has a 32-bit shared object somewhere in it. There is no contradiction in this.


[#25855] Saturday, December 18, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ainbby

Total Points: 184
Total Questions: 115
Total Answers: 112

Location: Colombia
Member since Thu, Sep 29, 2022
2 Years ago
;