Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: How to execute program in console on EVM from RSE?

$
0
0

[Solution]

After tearing what little hair I have left out of my head I found the solution. Once you have your executable on the EVM, if you run readelf -l helloworld|grep "program interpreter"  you will see the executable is trying to call on '/lib/d-linux-armhf.so.3' which does not exist in the /lib directory.

I was able to extract the file from this .deb file and inject it into the /lib directory via RSE.

After I had injected the file and gave it execute (chmod 777) access, I got the following error: "./helloworld: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

It would appear the libc.so.6 file was missing from /usr/lib (which is odd it calls from two different paths). Once I placed the lib.so.6 file into /usr/lib and gave it execute (chmod 777) access I was able to finally run my executable!


Viewing all articles
Browse latest Browse all 91752

Trending Articles