SQLpage icon indicating copy to clipboard operation
SQLpage copied to clipboard

unable to start binary on Rocky Linux 8 (GLIBC_2.29 missing)

Open cbertelli opened this issue 1 year ago • 5 comments

Introduction

Starting the binary il bails that it cannot find GLIBC_2.29 nor in libm.so.6 or libc.so.6

To Reproduce

Start a binary on a v. 8 Red Hat compatible

Actual behavior

Error

$ /opt/sqlpage/sqlpage.bin: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /opt/sqlpage/sqlpage.bin)
   /opt/sqlpage/sqlpage.bin: /lib64/libc.so.6: version `GLIBC_2.29' not found (required by /opt/sqlpage/sqlpage.bin)

Expected behavior

Rely on the current libc version or musl (for AlpineLinux)

Version information

  • OS: RockyLinux 8

cbertelli avatar Nov 24 '24 22:11 cbertelli

Hello and welcome to SQLPage !

Glibc 2.29 was released almost 6 years ago, I think it is reasonable dependency to have.

If using a more recent os is not an option, I can recommend our docker image: https://hub.docker.com/r/lovasoa/sqlpage

If you need help to get started, do not hesitate to ask here ! What do you want to build with SQLPage ?

lovasoa avatar Nov 24 '24 23:11 lovasoa

Here is a musl-based statically linked sqlpage binary I compiled locally, in case it's useful.

sqlpage.0.31.musl.bin.gz

lovasoa avatar Nov 24 '24 23:11 lovasoa

Thank you very much! I will try it on a newer RH compatible distribution, thanks for the musl-based binary.

cbertelli avatar Nov 24 '24 23:11 cbertelli

Hi, It is possible to add this binary to each release ? RHEL 8 is still in use ! Or write a BUILD.md (or somthing like that) to do this.

eric-lemesre avatar Feb 03 '25 13:02 eric-lemesre

Hi Eric ! It sure would be possible (but not trivial) to add a new target to our test and release process. I sent you an email about it !

In the meantime, here is a static build of the latest development version: sqlpage-dev-musl-linux.zip. This is a development version, so please report any bug you find (and use at your own risk) ;)

The detailed build instructions are in CONTRIBUTING.md.

lovasoa avatar Feb 03 '25 15:02 lovasoa

SQLPage v0.35 was released as a statically built executable.

Starting from 0.35.2, releases will be dynamically linked against glibc 2.28 (compatible with RHEL 8).

lovasoa avatar May 28 '25 23:05 lovasoa