kdeldycke / mail-deduplicate

📧 CLI to deduplicate mails from mail boxes
https://kdeldycke.github.io/mail-deduplicate
GNU General Public License v2.0
166 stars 39 forks source link

Cannot run pre-built executable on openSUSE Leap 15.5 #759

Open deajan opened 1 month ago

deajan commented 1 month ago

Preliminary checks

Describe the bug

So SLES 15.5 (latest enterprise version) uses Python 3.6, so I decided I could just go with the binary version, but that one won't work because of newer GLIBC dependency.

To reproduce

Steps to reproduce the behavior:

  1. The full mdedup CLI invocation you used.

    $ ./mdedup-linux-x64.bin
    ./mdedup-linux-x64.bin: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by ./mdedup-linux-x64.bin)
    ./mdedup-linux-x64.bin: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./mdedup-linux-x64.bin)

    Currently installed glibc

    localhost:/tmp # rpm -qa | grep glib
    glibc-2.31-150300.89.2.x86_64

Context

I myself compile my python code with Nuitka (if that's what you're doing). All Nuitka built executables need at least the glibc version the build system had at compile time.
I use to compile on the oldest system I have (RHEL7 which uses glibc 2.17) in order to have builds that run almost everywhere.

One could argue that glibc-2.31 is quite old, but then again OpenSUSE leap 15.5 is not EOL yet, and 15.6 just released a couple of months ago.

Btw, you could perhaps make you could perhaps make your compile instructions public, so one could compile it's own executables.

Thanks

deajan commented 1 month ago

Note that the prebuilt executables also don't run on RHEL 9.4 which has glibc 2.34 installed.