Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-5690

[Packaging][Python] macOS wheels broken: libprotobuf.18.dylib missing

    Details

      Description

      If I build macOS arrow wheels with crossbow from the latest master (a77257f4790c562dcb74724fc4a22c157ab36018) and install them, importing pyarrow gives the following error message:

      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

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pcmoritz Philipp Moritz
                Reporter:
                pcmoritz Philipp Moritz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h