Bug Report
Describe the bug
The postgrestools CLI binary requires GLIBC 2.32-2.39, but fails on systems with older GLIBC versions (like Ubuntu 20.04 LTS which uses GLIBC 2.31). This makes the tool unusable on many stable Linux distributions.
To Reproduce
- Install postgrestools on Ubuntu 20.04 LTS
- Run
postgrestools init
- Get GLIBC version errors:
postgrestools: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found
postgrestools: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found
postgrestools: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found
postgrestools: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found
Expected behavior
- Tool should either support older GLIBC versions
- Or provide a JavaScript fallback version
- Or clearly document minimum GLIBC version requirements
System information
- OS: Ubuntu 20.04.6 LTS
- GLIBC Version: 2.31
- Node.js Version: v22.14.0
- Package Manager: pnpm 10.8.0
Additional context
Many production/enterprise environments run on LTS distributions with older GLIBC versions for stability. Consider:
- Building binaries targeting older GLIBC versions
- Providing a pure JavaScript alternative
- Publishing pre-built binaries for different GLIBC versions
Current workaround is to upgrade GLIBC, but this isn't always possible in production environments.
Bug Report
Describe the bug
The postgrestools CLI binary requires GLIBC 2.32-2.39, but fails on systems with older GLIBC versions (like Ubuntu 20.04 LTS which uses GLIBC 2.31). This makes the tool unusable on many stable Linux distributions.
To Reproduce
postgrestools initExpected behavior
System information
Additional context
Many production/enterprise environments run on LTS distributions with older GLIBC versions for stability. Consider:
Current workaround is to upgrade GLIBC, but this isn't always possible in production environments.