Relative Content

Tag Archive for c++linuxdlldependency-managementld

C++ – how do you avoid clashes of third party dependencies? [linux]

General question when building big C++ projects. Lets say I have this hypothetical situation. I’m writing a library that other users can link into their build environment. The library for one reason or another has to be a dynamic library.
Lets say my library depends on GRPC version X, so my library builds against GRPC X ( lets say dynamically linked for now ).
Now lets say a user’s build environment depends on my library but their environment dynamically links GRPC version Y.
There are a few issues to consider here and I’m wondering how this is generally solved.