distsys-MQ / ds-sim

18 stars 21 forks source link

Precompiled ds-server binary not running #1

Open mq45946396 opened 3 years ago

mq45946396 commented 3 years ago

I attempted to run the ds-server precompiled binary in the repo in my workshop today. However, upon trying to run it I got this error:

jack@comp3100:~/comp3100/ds-sim/src/pre-compiled$ ./ds-server 
./ds-server: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./ds-server)

Even after attempting to install GNU build tools, it still did not run in my VM. Admittedly I'm not using Ubuntu, I'm using Debian instead, but it should work regardless. I ran make in the src folder to compile it myself and that it ran without issues.

Here's my Linux version

Linux comp3100 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux

Is this an issue with the binaries or is it an issue with the VM because I installed Debian instead?

calleum commented 2 years ago

Running the current pre-compiled version does not with work the the options from the usage message:

./ds-server -h all
Option -h requires an argument.
Usage: ./ds-server -h all

at commit 8f4e0ee .

Running an amended version of the example shown in the readme in the dir src/pre-compiled:

./ds-server  -c ../../configs/sample-configs/ds-sample-config01.xml -v brief
Option -c requires an argument.
Usage: ./ds-server -h all
jahinzee commented 1 year ago

Had the same issue with Fedora Linux.

A "solution" I settled on is to run the binaries through a virtualised Ubuntu environment with distrobox.