GoogleCloudPlatform / GoogleCloudPlatform/cloud-spanner-emulator

Linux binary dynamically links too new a version of libstdc++

Open
#252 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
334
Forks
77
Avg merge
8m
Merged PRs (30d)
2

Description

It appears that the libstdc++ dependency version was upgraded. This version is too new for Ubuntu 22.04 and Debian 12 (stable), where the latest package is from GCC 12. This results in the error "version `GLIBCXX_3.4.32' not found" when attempting to run the emulator.

From the project README, which is clearly out-of-date:

> tested on Ubuntu 18.04+, CentOS 7+, RHEL 8+ and Debian 10+

and

> Production releases of the emulator are built on Ubuntu 18.04 with bazel 5.4.0 and gcc 8.4

This is particularly troublesome as it means the prebuilt binary will no longer run on [Distroless](https://github.com/GoogleContainerTools/distroless), which is based on Debian stable.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.