Skip to content

no such file or directory error: protobuf.dev / protoc #10091

@ErenDursun

Description

@ErenDursun

Hi all,

when I run protoc via protobuf.dev in v21.12.0 everything works as intended, but starting with v22.5.0 up to the current v31.1.0 things seem broken:

pkgx protoc@v21.12.0

Usage: /home/eren/.pkgx/protobuf.dev/v21.12.0/bin/protoc [OPTION] PROTO_FILES
Parse PROTO_FILES and generate output based on the options given:
-IPATH, --proto_path=PATH Specify the directory in which to search for
...

pkgx protoc@v31.1.0

/home/eren/.pkgx/protobuf.dev/v31.1.0/bin/protoc: error while loading shared libraries: libabsl_die_if_null.so.2501.0.0: cannot open shared object file: No such file or directory

Is this supposed to still work out-of-the-box as before, or am I missing something?

I think this is somehow related to the abseil.io dependency, which was introduced with Protobuf v22.

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