-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
onnxruntime build is not compatible with onnx build. Protobuf loaded twice. #7597
Comments
@snnn any ideas? |
Hi @xkszltl , could you please run ldd with "-v" like
and give us the output. So that we we could know who was consuming libprotobuf.so.3.15.8.0 |
Glad to.
|
So, in your custom build, both libonnx.so and libonnxruntime.so depend on libprotobuf.so, which is the full version protobuf. |
Whatever uses onnx will use libonnx.so, e.g. the |
Describe the bug
Custom build of protobuf+onnx+ort shared libs doesn't work.
onnx-ml.proto
is loaded twice.Here are
ldd
logs to show libs used by onnx/ort:We've had similar issue previously (#5035), not sure if it has the same root cause so I file a new issue for this.
Urgency
This is blocking the use of onnx and ort in the same process and would be a big concern in our product, where we usually want to:
System information
The text was updated successfully, but these errors were encountered: