Skip to content

Released protoc 3.7.0 require libatomic1 (not statically linked?) #5875

@anuraaga

Description

@anuraaga

What version of protobuf and what language are you using?
Version: v3.7.0
Language: n/a

What operating system (Linux, Windows, ...) and version?

Linux
Docker image debian:stretch-slim

What runtime / compiler are you using (e.g., python version or gcc version)

None

What did you do?
Steps to reproduce the behavior:

  1. docker run -it --rm debian:stretch-slim
  2. apt update && apt -y install wget unzip
  3. wget https://github.com/protocolbuffers/protobuf/releases/download/v3.7.0/protoc-3.7.0-linux-x86_64.zip
  4. unzip protoc-3.7.0-linux-x86_64.zip
  5. ./bin/protoc

What did you expect to see

protoc runs and prints some help text

What did you see instead?

loader error

root@6a6b297121e5:/# ./bin/protoc
./bin/protoc: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory

It runs if I install libatomic

apt -y install libatomic1

Is this an intended change? I guess it's supposed to be statically linked into the prebuilt binaries. v3.7.0 is the first version I see this issue with.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions