Hi guys
I'm desperately trying to get VPSD to run on my Cuboxi4Pro, I'm very close but need some help getting over the line. VPSD is a Serial to TCP hardware to software solution. I've run it on debian for years happily, I've now compiled it on armbian, there are two main components. An executable that is initiated with /etc/init.d/vspm which creates virtual devices in /dev/, this part is working fine. Then there is vspd which creates the daemon, the binary did get built but when I try and run it I get the following:
root@cubox-i:~# /etc/init.d/vspd start starting vspd.../etc/init.d/vspd: line 47: /usr/local/vspd/sbin/vspd: cannot execute binary file [FAILURE] /etc/init.d/vspd: line 107: /usr/local/vspd/sbin/vspd: cannot execute binary file VSPD binary can't run please, try to start it manually: /usr/local/vspd/sbin/vspd if it will not print "Try .. --help" than: 1) may be you're trying to run x86_64 binary on i586 arch? 2) try "ldd /usr/local/vspd/sbin/vspd", may be your system lacks some library
If I try and run it directly I get this;
root@cubox-i:~# /usr/local/vspd/sbin/vspd -bash: /usr/local/vspd/sbin/vspd: cannot execute binary file
I then tried ldd :
# ldd /usr/local/vspd/sbin/vspd not a dynamic executable
It looks okay
# ls -lh /usr/local/vspd/sbin/vspd -rwxr-xr-x 1 root root 278K Nov 7 16:40 /usr/local/vspd/sbin/vspd
Any help would be appreciated.
Thank you
Brendan