-
Notifications
You must be signed in to change notification settings - Fork 15.6k
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
descriptor_database.cc:57] File already exists in database: EntityType.proto #1941
Comments
If A and B shares the same proto type, I believe you will need to make a separate shared lib C containing the shared proto and make it a dependency of A and B. |
chokobole
added a commit
to chokobole/felicia
that referenced
this issue
Mar 17, 2019
Apply solutions protocolbuffers/protobuf#1941 (comment)
god bless nobuhiro. other suggestions about linkage are useless when it comes to pybind |
I am still getting the same failure in protobuf-24.4 used by PyTorch during the PyTorch initialization of onnx on FreeBSD 14.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using protobuf-3.0.0.-beta3 but on execute my executable I get descriptor_database.cc:57] File already exists in database: EntityType.proto
shared lib A used in executable B
both use protobuffer as shared lib
exe and shared lib A generate the same EntityType.proto object (from same file)
Seems here is discussed the same problem for linux (and an older version of proto) but i use vs2015.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721791
Maybe the patch from nobuhiro helps here. Not tested but seems to fix adding an already existing object.
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=721791;filename=protobuf-2.4.1-3.1.debdiff;msg=5
The text was updated successfully, but these errors were encountered: