[
https://issues.apache.org/jira/browse/KUDU-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246864#comment-15246864
]
Todd Lipcon commented on KUDU-1298:
-----------------------------------
I also looked into a bit about how other projects handle bundling (or not
bundling) native dependencies.
It seems like protobuf offers an option for their 'bdist' which causes the
protobuf library itself to get linked into the resulting python extension:
https://github.com/google/protobuf/blob/master/python/setup.py#L174
This would create a bdist which is self-contained and doesn't need anything
else installed on the system, which seems particularly nice for OSX where we
have no easy way to install the Kudu client libraries system-wide. As an
alternative to static-linking, maybe we could also just bundle the .dylib
inside the extension somewhere and set up the RPATH appropriately on
client.dylib so it looks in the same directory?
> Make pip install of Kudu Python client work with C++11 on OS X
> --------------------------------------------------------------
>
> Key: KUDU-1298
> URL: https://issues.apache.org/jira/browse/KUDU-1298
> Project: Kudu
> Issue Type: Bug
> Components: python
> Reporter: Jeff Hammerbacher
> Assignee: David Alves
>
> Pip install of kudu-python on Homebrew's Python 3.5.1 and the most recent
> Xcode is failing for me:
> https://getkudu.slack.com/archives/kudu-general/p1453163444003189.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)