You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/06/23 21:41:00 UTC

[jira] [Commented] (ARROW-5690) [Packaging] macOS wheels broken: libprotobuf.18.dylib missing

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

Wes McKinney commented on ARROW-5690:
-------------------------------------

Two options:

* Set {{-DARROW_PROTOBUF_USE_SHARED=OFF}} or
* Bundle libprotobuf (it's being bundled for Windows already: https://github.com/apache/arrow/blob/master/python/CMakeLists.txt#L508)

I'd vote for the 1st option for now. Can you submit a patch and test it?

> [Packaging] macOS wheels broken: libprotobuf.18.dylib missing
> -------------------------------------------------------------
>
>                 Key: ARROW-5690
>                 URL: https://issues.apache.org/jira/browse/ARROW-5690
>             Project: Apache Arrow
>          Issue Type: Improvement
>            Reporter: Philipp Moritz
>            Priority: Major
>
> If I build macOS arrow wheels with crossbow from the latest master (a77257f4790c562dcb74724fc4a22c157ab36018) and install them, importing pyarrow gives the following error message:
> {code:java}
> In [1]: import pyarrow                                                                                                                                                               
> ---------------------------------------------------------------------------
> ImportError                               Traceback (most recent call last)
> <ipython-input-1-f1048abcb32d> in <module>
> ----> 1 import pyarrow
> ~/anaconda3/lib/python3.6/site-packages/pyarrow/__init__.py in <module>
>      47 import pyarrow.compat as compat
>      48
> ---> 49 from pyarrow.lib import cpu_count, set_cpu_count
>      50 from pyarrow.lib import (null, bool_,
>      51                          int8, int16, int32, int64,
> ImportError: dlopen(/Users/pcmoritz/anaconda3/lib/python3.6/site-packages/pyarrow/lib.cpython-36m-darwin.so, 2): Library not loaded: /usr/local/opt/protobuf/lib/libprotobuf.18.dylib
>   Referenced from: /Users/pcmoritz/anaconda3/lib/python3.6/site-packages/pyarrow/libarrow.14.dylib
>   Reason: image not found{code}
>  



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