LinuxMCE Forums

General => Installation issues => Topic started by: gaspala on October 29, 2008, 10:44:57 pm

Title: Unable to run new programs on all MDs (other than core)
Post by: gaspala on October 29, 2008, 10:44:57 pm
I wrote a small C program to run on a MD. However, when I tried to run the program, I got 'Binary file not executable'. To make it simple, I created a new program with one line as 'main() { }'. There were no compilation error and it produced a.out file.

'file a.out' command produced
a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), not stripped root@moon92:/home/public/other/

But, 'ldd a.out' command produced 'not a dynamic executable' message.

However, I have no problem running a.out on the core/hybrid. But, none of the MDs were able to run any executable I created.

On the MD I tried to run, based on the output of 'dpkg -l', libc6 and libc6-dev packages are installed.

What do I need to make these executable work in Media Directors.


Title: Re: Unable to run new programs on all MDs (other than core)
Post by: totallymaxed on October 30, 2008, 07:00:14 pm
I wrote a small C program to run on a MD. However, when I tried to run the program, I got 'Binary file not executable'. To make it simple, I created a new program with one line as 'main() { }'. There were no compilation error and it produced a.out file.

'file a.out' command produced
a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), not stripped root@moon92:/home/public/other/

But, 'ldd a.out' command produced 'not a dynamic executable' message.

However, I have no problem running a.out on the core/hybrid. But, none of the MDs were able to run any executable I created.

On the MD I tried to run, based on the output of 'dpkg -l', libc6 and libc6-dev packages are installed.

What do I need to make these executable work in Media Directors.




Hmmm... maybe making the copied file executable?

Andrew