WSL - Kali Linux - cannot execute binary filen error

%3CLINGO-SUB%20id%3D%22lingo-sub-1240700%22%20slang%3D%22en-US%22%3EWSL%20-%20Kali%20Linux%20-%20cannot%20execute%20binary%20filen%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1240700%22%20slang%3D%22en-US%22%3E%3CP%3EWarning%3A%20I%20can%20be%20president%20of%20Beginners%20in%20Linux..%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20kali%20linux%20as%20WSL%20on%20my%20windows%2010.%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20set%20up%20a%20function%20which%20calls%20a%2032%20bit%20file.%3C%2FP%3E%3CP%3Eand%20i%20get%20the%20error%20%22cannot%20execute%20binary%20file%3A%20Exec%20format%20error%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20googled%20a%20lot%2C%20but%20couldn't%20find%20a%20way%20to%20get%20rid%20of%20this%20error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20someone%20help%20please%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Warning: I can be president of Beginners in Linux..

 

I have kali linux as WSL on my windows 10.

I am trying to set up a function which calls a 32 bit file.

and i get the error "cannot execute binary file: Exec format error".

 

I googled a lot, but couldn't find a way to get rid of this error.

 

Can someone help please?

 

0 Replies