Page 1 of 1

Zway not starting on ubuntu

Posted: 23 Jun 2018 19:31
by rafale77
Trying to install z-way with a UZB on an arm64 ubuntu with kernel 3.10.107 and I keep on getting some very strange messages when trying to start it:

The ubuntu version sends this

Code: Select all

./z-way-server: 1: ./z-way-server: xm: not found
./z-way-server: 1: ./z-way-server: ?m: not found
./z-way-server: 1: ./z-way-server: : not found
./z-way-server: 1: ./z-way-server: xm: not found
./z-way-server: 1: ./z-way-server: ??
                                    m?KMOQRUWX]_: not found
./z-way-server: 1: ./z-way-server: ELF: not found
./z-way-server: 2: ./z-way-server: Syntax error: ";" unexpected
The debian version gives me this:

Code: Select all

./z-way-server: 1: ./z-way-server: : not found
./z-way-server: 1: ./z-way-server: ??
                                    mA?JLMOPSUW[^_: not found
./z-way-server: 1: ./z-way-server: ELF: not found
./z-way-server: 4: ./z-way-server: Syntax error: ";" unexpected
What am I missing here?

Re: Zway not starting on ubuntu

Posted: 24 Jun 2018 09:00
by PoltoS
Do file z-way-server; file /bin/ls

Re: Zway not starting on ubuntu

Posted: 25 Jun 2018 10:30
by rafale77
When I run the command you gave I get this:
z-way-server: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=8ab3ac21a700ca8f677748d070debcb77b7062a5, not stripped
/bin/ls: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=de05fcef79d88af9cf9a71ed38e73af0b179bfb2, stripped
It looks like the Ubuntu version of zway I downloaded was for x86-64 platform. What version do I need to pick for arm64? (aarch64?)
I also checked the raspberry pi version and it is an arm32 (armhf) platform.

Re: Zway not starting on ubuntu

Posted: 25 Jun 2018 19:48
by PoltoS
Ha, you use x64 version in a Pi!

Use normal Raspberry Pi version

Re: Zway not starting on ubuntu

Posted: 26 Jun 2018 00:40
by rafale77
Unfortunately the raspberry pi version I downloaded shows up as arm32. (Raspberrypixtool) I used the Ubuntu version because my OS/kernel is Ubuntu/Debian based. Are there multiple version of the raspberry pi?

Re: Zway not starting on ubuntu

Posted: 26 Jun 2018 03:35
by rafale77
I figured it out by installing one by one each missing armhf (32bit) library on my arm64 Ubuntu. It was not too bad but I wish it was better documented. On arm platform (rasberry Pi) zway is only available on 32bit. This was on a pine64 with Armbian running on top of 64bit Ubuntu 18.04.

The libraries missing were libavahi-compatible-dnssd1, libssl, libarchive12, libc-ares-dev, libcurl3 and libcurl4 all needed with the :armhf appendix to get the 32bit version and obviously the 32bit platform had to be added to the 64bit OS.

Zway not starting on ubuntu

Posted: 31 Jul 2018 12:20
by MichaelBAL
Yes, please keep it running. As it seems the problem is not with the scientific data but with some weird virtualbox stuff.

Re: Zway not starting on ubuntu

Posted: 06 Aug 2018 06:00
by damian
use x64 version in a Pi, normal Raspberry Pi version

Re: Zway not starting on ubuntu

Posted: 08 Aug 2018 00:45
by rafale77
The normal Raspberry Pi version is actually a 32bit. There is no arm64 version. The only 64bit versions available are for x86 (windows and linux)

Re: Zway not starting on ubuntu

Posted: 01 Aug 2023 16:13
by Mnaisa
The standard Raspberry Pi model is a 32bit device. No arm64 version is available. The x86 architecture (Windows and Linux) is the only one with 64-bit support puppet hockey