Skip to content

[Packaging][Python] Python macOS wheels have dynamic dependency on libcares #22176

@asfimport

Description

@asfimport

I'm afraid while #4685 fixed the macOS wheels for python 3, but the python 2.7 wheel is still broken (with a different error):

ImportError: dlopen(/Users/pcmoritz/anaconda3/lib/python3.6/site-packages/pyarrow/lib.cpython-36m-darwin.so, 2): Library not loaded: /usr/local/opt/c-ares/lib/libcares.2.dylib

  Referenced from: /Users/pcmoritz/anaconda3/lib/python3.6/site-packages/pyarrow/libarrow_python.14.dylib

  Reason: image not found

I tried the same hack as in #4685 for libcares but it doesn't work (removing the .dylib fails one of the earlier build steps). I think the only way to go forward on this is to compile grpc ourselves. My attempt to do this in master...pcmoritz:mac-wheels-py2 fails because OpenSSL is not found even though I'm specifying the OPENSSL_ROOT_DIR (see https://travis-ci.org/pcmoritz/crossbow/builds/550603543). Let me know if you have any ideas how to fix this!

Reporter: Philipp Moritz / @pcmoritz
Assignee: Wes McKinney / @wesm

PRs and other links:

Note: This issue was originally created as ARROW-5751. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions