Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site. When trying to test the script, I execute the following: sudo /etc/init.d/testsam start But when doing so, I get an error: unable to execute /etc/init.d/testsam: No such file or directory. I minimized the script to the very basic, but still don't have a clue of the actual reason. I hope someone can point me out to the right solution?
I installed Debian 8, just moved from Ubuntu 14.04 LTS. After which the ARM cross compiler failed to work
The error message was No such file or directory, which looks strange also misleading.
[or]
I tried lots of thing, permissions, path setup, and soon.
Nothing worked
While troubleshooting I just found the binary was compiled for 32bit system, Wow that was the clue.
But system OS was pure 64bit installation.
From my experience of toolchain building task earlier, I knew this was due to Multilib. I need to install Multilib package to support executing of 32bit binaries.
Solution
![Exec Exec](http://home.ubalt.edu/abento/ntfaq/ipaddress.gif)
Enable i386 package installation support
Install packages need to build source code on the system
gcc-multilib is the package which will enable running 32bit (x86) binaries on 64bit (amd64/x86_64) system.
Now lets try it again
Additional steps
Since I am compiling Linux kernel for ARM MPU, I was in need of these additional packages installed.
- u-boot-tools - for mkimage tool
- lzop for compression