SQLpage
SQLpage copied to clipboard
unable to start binary on Rocky Linux 8 (GLIBC_2.29 missing)
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
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 ?
Here is a musl-based statically linked sqlpage binary I compiled locally, in case it's useful.
Thank you very much! I will try it on a newer RH compatible distribution, thanks for the musl-based binary.
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.
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.
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).