Respectech
Respectech

Reputation: 454

Having trouble getting Rebol3 to run on Linux-ARMhf

I've been able to get this to work before, because I have an identical system with it running. I can't find what I'm missing.

I've changed permissions and checked for existence of libraries referenced via ldd, but get the following:

$ ls -l 
... 
-rwxr-xr-x 1 odroid odroid 449800 sep 24 18:27 r3 
... 
$ sudo ./r3 
sudo: unable to execute ./r3: No such file or directory 
$ ./r3 
bash: ./r3: No such file or directory 

All the libraries referenced by:

$ ldd ./r3

...are in the directories and have the names as referenced by ldd's output. I'm using the exact same executable that is working on the other system, which is identical (other than perhaps a different version number of Linux).

Upvotes: 1

Views: 96

Answers (1)

Respectech
Respectech

Reputation: 454

OK. So here's the solution when encountering the following:

$ sudo ./r3 
sudo: unable to execute ./r3: No such file or directory

ARM devices running 64-bit operating systems don't generally have the 32-bit libraries installed. This can be fixed with the following commands:

sudo dpkg --add-architecture armhf
sudo apt install libc6:armhf libncurses5:armhf libstdc++6:armhf

After installing those libraries, the executable should now run!

Upvotes: 0

Related Questions