lidavidm commented on PR #14082: URL: https://github.com/apache/arrow/pull/14082#issuecomment-1379609243
Ah, digging into the build - the issue is that they both link libprotobuf statically. Instead, we need to link it dynamically. The awkward part will be getting vcpkg to do this (I don't think we can make vcpkg build just one library dynamically? And then we also have to remember to bundle it into the wheel). So I think a libarrow_proto.so would work. Alternatively, I've seen it suggested that hiding all the Protobuf symbols in a library will make them not conflict. Possibly that is why Linux and Windows are not affected here. (Windows has dllexport/dllimport; Linux has the linker script.) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
