[maemo-developers] [maemo-developers] Help, executable file dosen't execute.

From: smartkenny smartkenny at gmail.com
Date: Tue Jun 13 14:38:38 EEST 2006
Eero Tamminen wrote:
> Hi,
>
> On Tue, Jun 13, 2006 at 02:25:32AM -0700, smartkenny wrote:
>   
>>>> If I comment the "uses" lines, it can compile, and execute well after
>>>> move to 770. But if gtk2 is imported in, it also compile, and don't
>>>> execute on 770, just reporting:
>>>> /bin/sh: ./test: not found. 
>>>>         
>
> What if you try to run it with full path?
>   
Same result:
sh: /home/user/test: not found
> Btw. Are you trying to run it from the MMC?
>   
No. I know it can't be executed on MMC. I copied it to the home 
directory. And the mod is executable.
As I said, when I commented out the uses class, the executable can run 
on 770.
> It's mounted with noexec, i.e. you need to copy the excutable
> to the Flash and chmod +x it before trying to run it.
>
>
>   
>>> This kind of an error comes usually when your binary is missing
>>> one of it's dependent librararies.  What this reports:
>>> 	/lib/ld-2.3.6.so --list /path-to/test
>>> ?
>>>  
>>>       
>> Hi, Eero, thank you very much for reply. The output is as follows:
>>     
>
> Hm.  None of them seem to be missing.
>
> (And you run this on the target where it was failing?)
>
>
> 	- Eero
> 	
>
>   


More information about the maemo-developers mailing list