Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static link opentelemetry-cpp libraries to otel_tracer plugin #12026

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hnakamur
Copy link
Contributor

Without this, cmake --build build --target test causes an error that failes to load otel_tracer.so because of undefined symbol _ZN6google8protobuf7Message19CopyWithSourceCheckERS1_RKS1_.

Also update instructions for building and installing dependency libraries using CMake.

Also update opentelemetry-cpp version to v1.19.0.

Without this, `cmake --build build --target test` causes an error
that failes to load otel_tracer.so because of undefined symbol
`_ZN6google8protobuf7Message19CopyWithSourceCheckERS1_RKS1_`.

Also update instructions for building and installing dependency
libraries using CMake.

Also update opentelemetry-cpp version to v1.19.0.
@masaori335 masaori335 added this to the 10.1.0 milestone Feb 12, 2025
@masaori335 masaori335 added the Build work related to build configuration or environment label Feb 12, 2025
@hnakamur
Copy link
Contributor Author

Could you wait for reviewing this pull request?
I found this change causes an error in tests on macOS. I am working to fix it.

Also remove unused opentelemetry libraries on OSes other than macOS.
@hnakamur
Copy link
Contributor Author

I think it's ready to be reviewd now.
I verified the verify_global_otel_tracer test passes on the following environments:

  • Ubuntu 24.04, CMake 3.28.3
  • Ubuntu 22.04, CMake 3.22.1
  • macOS 15.3.1, CMake 3.31.5
  • FreeBSD 14.2, CMake 3.31.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build work related to build configuration or environment otel_tracer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants