[SOLVED]cannot execute binary file:execute format error

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED]cannot execute binary file:execute format error

Postby bobo1919 » May 28th, '19, 16:32

Hello,

Can you suggest how to safely install 64 bit Mageia over current i686 Mageia 6.0?

Thank you.

I am running an ASUS laptop

Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz

with 8gb RAM (I think)

I continue to receive error message for particular binary file and the message is supposedly due to my having the incompatibility
between the 64 bit program executable and my 32 bit architecture.

kernel-desktop586-4.14.119-1.mga6 - Linux kernel for desktop use with i586 and less than 4GB RAM​


"cannot execute binary file: execute format error"

The you tube video that explains this is at https://www.youtube.com/watch?v=LNqK6WA4Fio

It seems to be just this one executable that I'm unable to run.

Am I on the right track ?
Last edited by bobo1919 on May 31st, '19, 20:10, edited 1 time in total.
bobo1919
 
Posts: 16
Joined: May 24th, '19, 17:13

Re: cannot execute binary file:execute format error

Postby bobo1919 » May 28th, '19, 21:55

Turns out after all that the file that won't run is NOT 32 bit hence I need to change to 64 bit arch.

I'm now at how to do this safely without compromising performance of current x86 arch.

Any help appreciated.
bobo1919
 
Posts: 16
Joined: May 24th, '19, 17:13

Re: cannot execute binary file:execute format error

Postby doktor5000 » May 29th, '19, 01:46

There's not really a way to safely install over. You just need to reinstall from a 64bit installation media, and keep your /home partition without formatting it (this is the default in the installer, so pretty safe regarding that) and that's about it. Same as in that video you linked.

Maybe you want to add some more context information on that binary file, so we can maybe help you to get it running without reinstalling, as there's probably a 32bit version of that.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18053
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: cannot execute binary file:execute format error

Postby bobo1919 » May 29th, '19, 21:06

Thank you for the inquiry about providing a 32 bit file to get up and running in this instance.

The software vendor provided me with the 32 bit version of the file so I can install that and go from there.

Regarding the 64 bit install over my current 32 bit - you say that during the install over current version

that my data will be protected during the install and that sounds ok.

One question - if I go ahead and do this will any 32 bit files still run as usual as if the version

were still 32 bit?

Thanks.
bobo1919
 
Posts: 16
Joined: May 24th, '19, 17:13

Re: cannot execute binary file:execute format error

Postby Ken-Bergen » May 30th, '19, 05:56

bobo1919 wrote:One question - if I go ahead and do this will any 32 bit files still run as usual as if the version
were still 32 bit?
Thanks.
By default only wine32 is installed, you'll have to install wine64 to run 64bit binaries.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: cannot execute binary file:execute format error

Postby bobo1919 » May 30th, '19, 06:14

By default only wine32 is installed, you'll have to install wine64 to run 64bit binaries.


I was referring to linux partition vs windows.

Was that your understanding of my post?
bobo1919
 
Posts: 16
Joined: May 24th, '19, 17:13

Re: cannot execute binary file:execute format error

Postby Ken-Bergen » May 30th, '19, 06:29

If you install the 64bit version of Mageia only the 32bit version of wine is installed.
Opp's my mistake no version of wine is installed by default.
But you can't install the 64bit version without pulling in the 32bit version as a dependency.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: cannot execute binary file:execute format error

Postby doktor5000 » May 30th, '19, 18:36

@Ken-Bergen: FWIW, this does not seem to be a question about wine at all, it's about ELF binaries, native linux executables - so no need for wine.

bobo1919 wrote:Regarding the 64 bit install over my current 32 bit - you say that during the install over current version

that my data will be protected during the install and that sounds ok.

Well, if you refer to your data as everything that is in your /home folder, then yes, as long as you don't format that partition during installation, it's safe. Rest of the OS will obviously be overwritten.

bobo1919 wrote:One question - if I go ahead and do this will any 32 bit files still run as usual as if the version

were still 32 bit?

Yes, x86_64 installations are backwards compatible, you can run 32bit files. But not the other way around.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18053
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: cannot execute binary file:execute format error

Postby bobo1919 » May 30th, '19, 21:40

Perfect. Thank you.
bobo1919
 
Posts: 16
Joined: May 24th, '19, 17:13

Re: cannot execute binary file:execute format error

Postby isadora » May 31st, '19, 06:53

Would you please mark this topic [SOLVED]?
You can do so by editing the title/subject of the first message in the topic.
Place [SOLVED] in front of subject/title.

Thanks ahead. :)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron