LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-14-2019, 05:02 PM   #1
gregors
Member
 
Registered: Mar 2018
Posts: 74

Rep: Reputation: Disabled
How fix "Exec format error"?


Hi there!

My computer runs Slackware 14.2 and is unable to run the Arduino IDE and Blender:

Code:
gszaktilla@mimi:~/test/blender-2.79b-linux-glibc219-x86_64>./blender
bash: ./blender: cannot execute binary file: Exec format error
gszaktilla@mimi:~/test/blender-2.79b-linux-glibc219-x86_64>~/bin/arduino-1.8.8/arduino
/home/gszaktilla/bin/arduino-1.8.8/arduino: line 35: /home/gszaktilla/bin/arduino-1.8.8/java/bin/java: cannot execute binary file: Exec format error
gszaktilla@mimi:~/test/blender-2.79b-linux-glibc219-x86_64>
What is going wrong here and how can I fix it?

TIA

Gregor
 
Old 02-14-2019, 05:24 PM   #2
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 521

Rep: Reputation: 296Reputation: 296Reputation: 296
What architecture is your cpu? (run uname -m to find out). This problem is often due to running 64bit programs on 32bit machines.

chris
 
Old 02-14-2019, 05:33 PM   #3
gregors
Member
 
Registered: Mar 2018
Posts: 74

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chris.willing View Post
What architecture is your cpu? (run uname -m to find out). This problem is often due to running 64bit programs on 32bit machines.
uname -m returns

Code:
i686
Before moving to Slackware my computer ran with Debian - Arduino and Blender were working fine.

Regards,

Gregor
 
Old 02-14-2019, 05:44 PM   #4
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 521

Rep: Reputation: 296Reputation: 296Reputation: 296
Quote:
Originally Posted by gregors View Post
uname -m returns

Code:
i686
Before moving to Slackware my computer ran with Debian - Arduino and Blender were working fine.
I guess you installed the 32bit version of Slackware instead of the 64bit version.

chris
 
Old 02-14-2019, 06:10 PM   #5
gregors
Member
 
Registered: Mar 2018
Posts: 74

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chris.willing View Post
I guess you installed the 32bit version of Slackware instead of the 64bit version.
I find that very unlikely - but when dealing with computers one never knows ...

Can I check that without explicitly installing the 64 Bit version?

Regards,

Gregor
 
Old 02-14-2019, 06:20 PM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,749

Rep: Reputation: Disabled
Quote:
Originally Posted by gregors View Post
Can I check that without explicitly installing the 64 Bit version?
You did already. The output you got of uname -m "i686" says you are running a 32-bit system, else the output would have been "x86_64".
 
Old 02-14-2019, 06:25 PM   #7
gregors
Member
 
Registered: Mar 2018
Posts: 74

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
You did already. The output you got of uname -m "i686" says you are running a 32-bit system, else the output would have been "x86_64".
Uh ... right. Shit.

So I'll have to reinstall Slackware ... and check why I did install the wrong version.

Thanks a lot!

Gregor
 
Old 02-14-2019, 06:41 PM   #8
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,437

Rep: Reputation: 1064Reputation: 1064Reputation: 1064Reputation: 1064Reputation: 1064Reputation: 1064Reputation: 1064Reputation: 1064
If you installed from the DVD, I believe I heard they are double sided, with 32 bit on one side and 64 on the other. I could be wrong though. I don't have a DVD set to check.

(Incidentally, when Slackware 14.2 came out, I mistakenly ordered the 32 bit CD set instead of the 64 bit one, or someone messed up my order. Doesn't matter now since the store is no more. It was intended as a donation anyway, but that's another story.)
 
Old 02-14-2019, 06:48 PM   #9
gregors
Member
 
Registered: Mar 2018
Posts: 74

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by montagdude View Post
If you installed from the DVD, I believe I heard they are double sided, with 32 bit on one side and 64 on the other. I could be wrong though. I don't have a DVD set to check.
I installed from an ISO I downloaded. I hope this time I'll pick the right one (https://slackware.nl/slackware/slackware64-current-iso/)

Regards,

Gregor
 
Old 02-14-2019, 06:59 PM   #10
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Posts: 511

Rep: Reputation: 172Reputation: 172
Quote:
Originally Posted by gregors View Post
I installed from an ISO I downloaded. I hope this time I'll pick the right one (https://slackware.nl/slackware/slackware64-current-iso/)

Regards,

Gregor
https://mirrors.slackware.com/slackw...re64-14.2-iso/

Last edited by Gordie; 02-14-2019 at 07:03 PM. Reason: This URL is for an iso
 
Old 02-14-2019, 07:08 PM   #11
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 8,723

Rep: Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731
There's a very useful script called "mirror-slackware-current.sh", which you can use to build your own -current ISO:

http://www.slackware.com/~alien/tools/

The documentation is in comments in the script itself.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with chroot "Exec Format Error" neotello Linux - General 2 01-01-2015 12:16 AM
What is the difference between "exec 5 > myfile" and "exec 2 > myfile"? thomas2004ch Programming 2 02-13-2012 08:19 PM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM
kldload keeps giving "Exec format error" jd121 *BSD 1 07-20-2003 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration