Can u please help me with my T20 device, I am having very tough time executing simple hello world app.
I keep getting -sh: ./myapp: No such file or directory
error.
At one moment I was desperate to try many commands like setting LD_LIBRARY_PATH and executing --library-path “/usr/lib:/lib” and stuff like that, and all of sudden all apps (Hello Worlds) started executing fine. So I managed to fix the issue by doing something very naive.
Then I had to re-flash the device with fresh new copy of Linux LXDE (2.8), and again I am having the same issue, but this time I cannot overcome it, it’s very very frustrating not to be able to execute Hello World app.
The app is compiled correctly with the toolchain predicted for T20, and I have no doubt at the app because I made it execute once.
This is what I get when I execute “ldd myapp”, so all libraries are being located.
The permissions were already set using chmod 777, so it’s not about permissions.
Maybe something related with shell options?
I know I also tried typing commands like #!/bin/bash before it started working in previous installation of Linux LXDE.
Also when it started executing the files, in the files where libraries were missing it strictly listed which ones were missing. It all started to behave differently.
Please help us with this it’s very last step for us, deploy/test the software and go into production.
it’s very very frustrating not to be able to execute Hello World app. The app is compiled correctly with the toolchain predicted for T20, and I have no doubt at the app because I made it execute once.
Which Toolchain did you use?
Could you share your ‘myApp’?
Note that file is a command which you likely have installed on the Colibri T20, and it is very likely also installed on your desktop PC.
E.g. for /bin/bash it shows: