diasurgical / devilutionX

Diablo build for modern operating systems
Other
7.98k stars 781 forks source link

[Issue Report]: glibc version requirement not specified in deb package #6572

Open Zulgrib opened 1 year ago

Zulgrib commented 1 year ago

Operating System

Linux x64

DevilutionX version

1.5.1

Describe

devilutionx: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by devilutionx)

To Reproduce

  1. Install Ubuntu 18.04 or derivative
  2. Download 1.5.1 linux x64 tar from release page
  3. Install .deb provided in the tar file
  4. Install dependencies if asked
  5. start devilution

Expected Behavior

.deb refuse to install because glibc dep cannot match on Ubuntu 18.04

Additional context

Downloading the ready to use .deb release of devilutionX and installing it on legacy version of Ubuntu (like 18.04) works, but running the binary fails because glibc is too old.

The .dev package should specify the minimum glibc version required to run the binary. (2.29 at this time)

AJenbo commented 1 year ago

You can adjust the package generator here: https://github.com/diasurgical/devilutionX/blob/7e489a88afe6a4a3aa11330562e45b9f535f66b2/CMakeLists.txt#L600

Technologov commented 11 months ago

I strongly suggest compiling DevilitionX Linux binary for Debian old-old-stable; such a build would work on a multiple Debian-and-Ubuntu like Linux systems.

AJenbo commented 11 months ago

I would strongly suggest to update your old installations. We support all current Ubuntu (20.04) and Debian (10) systems.