Skip to content

Use gRPC as shared library #1654

@gabswb

Description

@gabswb

I am using opentelemetry-cpp for a plugin (libplugin.so) that is used by a program. This program uses its own gRPC shared library for its purposes. So when libplugin.so calls the opentelemetry-cpp library which itself is statically linked to its own version of gRPC, there is a crash which is related to this gRPC issue: grpc/grpc#20034 (in short grpc crash when two different grpc libraries are used in the same process).
I specify that the program can not change its use and its version of gRPC. If a modification must be made, it is in the build of opentelemetry-cpp or in the plugin.
Would it be possible for example for opentelemetry-cpp to use gRPC from a shared library?

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