Temat: Problem z odpalaniem binariów w OpenWRT
Drodzy,
Zainstalowałem paczkę lcd4linux, ale niestety nie jestem w stanie jej uruchomić.
Oto jakie błędy otrzymuję:
root@OpenWrt:/usr/bin# ls -l |grep lcd
-rwxr-xr-x 1 root root 70004 Jul 25 11:32 lcd4linux
root@OpenWrt:/usr/bin# /etc/init.d/lcd4linux start
start-stop-daemon: can't execute '/usr/bin/lcd4linux': No such file or directory
root@OpenWrt:/usr/bin# ./lcd4linux
sh: ./lcd4linux: not found
root@OpenWrt:/usr/bin# /usr/bin/lcd4linux
sh: /usr/bin/lcd4linux: not foundTen problem nie występuje tylko z lcd4linux, ale także z plikami z +x:
root@OpenWrt:~# ls
luci-app-samba_git-16.206.66567-936d771-1_all.ipk mylcdinfo.sh putlcd.sh
root@OpenWrt:~# ./mylcdinfo.sh
sh: ./mylcdinfo.sh: not found
root@OpenWrt:~# ./putlcd.sh
sh: ./putlcd.sh: not found
Natomiast w przypadku tych skryptów jestem je w stanie uruchomić poprzez sh:
root@OpenWrt:~# sh putlcd.sh
putlcd.sh: line 95: declare: not found
putlcd.sh: line 96: db[0]=0: not found
putlcd.sh: line 97: db[1]=1: not found
putlcd.sh: line 98: db[2]=2: not found
putlcd.sh: line 99: db[3]=3: not found
putlcd.sh: line 100: db[4]=4: not found
putlcd.sh: line 101: db[5]=5: not found
putlcd.sh: line 102: db[6]=6: not found
putlcd.sh: line 103: db[7]=7: not found
putlcd.sh: line 119: syntax error: bad substitutionTo że nie działa to już inna kwestia. Przynajmniej się odpala.
Czy ktoś spotkał się już z takim problemem?
Wiecie jak to naprawić albo wywołać lcd4linux ?