[ 
https://issues.apache.org/jira/browse/ARROW-5751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16874225#comment-16874225
 ] 

Wes McKinney commented on ARROW-5751:
-------------------------------------

I confirmed the problem

{code}
$ otool -L 
/Users/wesm/miniconda/envs/wheel-test-3.7/lib/python3.7/site-packages/pyarrow/libarrow_flight.14.dylib
 
/Users/wesm/miniconda/envs/wheel-test-3.7/lib/python3.7/site-packages/pyarrow/libarrow_flight.14.dylib:
        @rpath/libarrow_flight.14.dylib (compatibility version 14.0.0, current 
version 14.0.0)
        @rpath/libarrow.14.dylib (compatibility version 14.0.0, current version 
14.0.0)
        /usr/local/opt/c-ares/lib/libcares.2.dylib (compatibility version 
6.0.0, current version 6.0.0)
        /usr/local/opt/openssl/lib/libssl.1.0.0.dylib (compatibility version 
1.0.0, current version 1.0.0)
        /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib (compatibility version 
1.0.0, current version 1.0.0)
        /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 
307.5.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 1238.50.2)
{code}

This can be easily confirmed by installing the wheel from 
https://github.com/ursa-labs/crossbow/releases/tag/nightly-489-travis-wheel-osx-cp37m

I'll work on a patch

> [Packaging][Python] Python macOS wheels have dynamic dependency on libcares
> ---------------------------------------------------------------------------
>
>                 Key: ARROW-5751
>                 URL: https://issues.apache.org/jira/browse/ARROW-5751
>             Project: Apache Arrow
>          Issue Type: Improvement
>            Reporter: Philipp Moritz
>            Assignee: Wes McKinney
>            Priority: Blocker
>
> I'm afraid while [https://github.com/apache/arrow/pull/4685] fixed the macOS 
> wheels for python 3, but the python 2.7 wheel is still broken (with a 
> different error):
> {code:java}
> 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{code}
> I tried the same hack as in [https://github.com/apache/arrow/pull/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 
> [https://github.com/apache/arrow/compare/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!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to