You are not logged in.

#1 2019-07-28 05:16:34

DarkMIR4GE
Member
Registered: 2019-07-19
Posts: 8

[Solved] Run 32 bit binary file in 64 bit system

I have a 64 bit system and I have to run to a 32 bit binary file as its not available in 64 bit.
But each time I try to execute it, this error pops up.

 $ ./crclient 
 bash: ./crclient: No such file or directory

I know for sure that it's present in the current directory and that it is executable by the current user.

Can someone help me?

Last edited by DarkMIR4GE (2019-07-28 14:33:11)

Offline

#2 2019-07-28 06:01:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,494

Re: [Solved] Run 32 bit binary file in 64 bit system

You'll need at least https://www.archlinux.org/packages/core … b32-glibc/ - that said, there're probably more packages you need and they reside in the Multilib repo

Offline

#3 2019-07-28 08:25:40

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,688
Website

Re: [Solved] Run 32 bit binary file in 64 bit system


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2019-07-28 12:07:40

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,530
Website

Re: [Solved] Run 32 bit binary file in 64 bit system

While multilib is necessary, the quoted error message is not what I'd expect if that were the only problem.  I don't have any 32-bin binaries to test though.

If insalling multilib packages does not resolve the issue, please post the output from the following:

stat crclient 
file crclient

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2019-07-28 12:22:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,494

Re: [Solved] Run 32 bit binary file in 64 bit system

@Trilby, bash does that if you don't have a 32bit ld-linux.so (and yes, it's terribly misleading)

Offline

#6 2019-07-28 14:32:38

DarkMIR4GE
Member
Registered: 2019-07-19
Posts: 8

Re: [Solved] Run 32 bit binary file in 64 bit system

seth wrote:

You'll need at least https://www.archlinux.org/packages/core … b32-glibc/ - that said, there're probably more packages you need and they reside in the Multilib repo

Thanks, this made mine tick. lib32-glibc was all it took.
   
NB: I already had multilib enabled in the first place.

Offline

Board footer

Powered by FluxBB