Skip to content

Installation error due to GLIBC version while using automatic sprocket installation #23

@FHaggs

Description

@FHaggs

I encountered an issue when attempting to use the Sprocket extension in Visual Studio Code. The extension fails to automatically install the sprocket command line tool due to an incompatible version of libc on my system. Below is the error message I received:

/home/pedro/.config/Code/User/globalStorage/stjude-rust-labs.sprocket-vscode/file-downloader-downloads/sprocket: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by /home/pedro/.config/Code/User/globalStorage/stjude-rust-labs.sprocket-vscode/file-downloader-downloads/sprocket)

Workaround: I manually compiled and installed the sprocket binary on my machine using the following steps:
Installed the latest version of sprocket using cargo install sprocket.
Replaced the binary in the extension's folder with the manually compiled version, and it worked as expected.

System Information:

OS: Debian GNU/Linux 12 (bookworm)
Rust version: rustc 1.85.0 (4d91de4e4 2025-02-17
GLIBC version: ldd (Debian GLIBC 2.36-9+deb12u10) 2.36
VSCode version: 1.98.2
Sprocket extension version: 0.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions