DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th November 2019
notooth notooth is offline
Shell Scout
 
Join Date: Jul 2015
Posts: 125
Red face Failed to run Linux binary

Hello,

I failed to run Linux binary. Can anyone help? Here is the error:

Code:
$ ./docker
-bash: ./docker: cannot execute binary file: Exec format error

$ ldd ./docker
ldd: ./docker: invalid ELF class 2; expected 1
Reply With Quote
  #2   (View Single Post)  
Old 12th November 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

From https://en.wikipedia.org/wiki/Execut...inkable_Format
Quote:
0x04 1 e_ident[EI_CLASS] This byte is set to either 1 or 2 to signify 32- or 64-bit format, respectively.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New binary packages IdOp NetBSD Package System (pkgsrc) 0 24th May 2015 07:48 PM
enabling linux binary emulation .. could it harm ? daemonfowl OpenBSD Security 7 30th July 2012 02:20 PM
FreeBSD FreeBSD: A Faster Platform For Linux Gaming Than Linux? vermaden News 6 15th September 2011 03:45 AM
Other Another Linux Security Breach (this time at Linux Foundation) vermaden News 0 12th September 2011 07:00 AM
Linux Binary: cannot execute binary file xmorg FreeBSD General 3 25th September 2010 03:46 PM


All times are GMT. The time now is 11:00 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick