Page 1 of 1

[SOLVED]cannot execute binary file:execute format error

PostPosted: May 28th, '19, 16:32
by bobo1919
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 ?

Re: cannot execute binary file:execute format error

PostPosted: May 28th, '19, 21:55
by bobo1919
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.

Re: cannot execute binary file:execute format error

PostPosted: May 29th, '19, 01:46
by doktor5000
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.

Re: cannot execute binary file:execute format error

PostPosted: May 29th, '19, 21:06
by bobo1919
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.

Re: cannot execute binary file:execute format error

PostPosted: May 30th, '19, 05:56
by Ken-Bergen
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.

Re: cannot execute binary file:execute format error

PostPosted: May 30th, '19, 06:14
by bobo1919
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?

Re: cannot execute binary file:execute format error

PostPosted: May 30th, '19, 06:29
by Ken-Bergen
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.

Re: cannot execute binary file:execute format error

PostPosted: May 30th, '19, 18:36
by doktor5000
@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.

Re: cannot execute binary file:execute format error

PostPosted: May 30th, '19, 21:40
by bobo1919
Perfect. Thank you.

Re: cannot execute binary file:execute format error

PostPosted: May 31st, '19, 06:53
by isadora
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. :)