Skip to content

GLIBC version not support #24

@LGTM-but-NY

Description

@LGTM-but-NY

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

  1. Install postgrestools on Ubuntu 20.04 LTS
  2. Run postgrestools init
  3. 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:

  1. Building binaries targeting older GLIBC versions
  2. Providing a pure JavaScript alternative
  3. Publishing pre-built binaries for different GLIBC versions

Current workaround is to upgrade GLIBC, but this isn't always possible in production environments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions