[ https://issues.apache.org/jira/browse/ARROW-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16530141#comment-16530141 ]
Phillip Cloud commented on ARROW-2783: -------------------------------------- Interestingly, this actually shows up as a build warning: {code} patchelf: file: /home/conda/feedstock_root/build_artifacts/parquet-cpp_1530403424640/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/libparquet.so.1.4.0 setting rpath to: $ORIGIN/. WARNING (parquet-cpp,lib/libparquet.so.1.4.0): lib/libarrow.so.0 not found in any packages WARNING (parquet-cpp,lib/libparquet.so.1.4.0): Needed DSO lib/libboost_regex.so.1.65.1 found in ['libboost'] WARNING (parquet-cpp,lib/libparquet.so.1.4.0): .. but ['libboost'] not in reqs/run, i.e. it is overlinked (likely) or a missing dependency (less likely) WARNING (parquet-cpp,lib/libparquet.so.1.4.0): did not find - or even know where to look for: /lib64/libc.so.6 WARNING (parquet-cpp,lib/libparquet.so.1.4.0): lib/libstdc++.so.6 not found in any packages WARNING (parquet-cpp,lib/libparquet.so.1.4.0): lib/libgcc_s.so.1 not found in any packages WARNING (parquet-cpp,lib/libparquet.so.1.4.0): did not find - or even know where to look for: /lib64/libm.so.6 {code} I'm going to look into trying to make the build fail on such warnings. > Importing conda-forge pyarrow fails > ----------------------------------- > > Key: ARROW-2783 > URL: https://issues.apache.org/jira/browse/ARROW-2783 > Project: Apache Arrow > Issue Type: Task > Components: Python > Affects Versions: 0.9.0 > Reporter: Phillip Cloud > Priority: Major > > Possibly related to: > https://issues.apache.org/jira/projects/ARROW/issues/ARROW-2770 > Steps to reproduce: > {code} > $ conda create -n test python=3 pyarrow -c conda-forge -y > $ conda activate test > $ python -c 'import pyarrow' > {code} > This gives: > {code} > Traceback (most recent call last): > File "<string>", line 1, in <module> > File > "/home/phillip/miniconda3/envs/py36/lib/python3.6/site-packages/pyarrow/__init__.py", > line 47 > , in <module> > from pyarrow.lib import cpu_count, set_cpu_count > ImportError: libboost_system.so.1.65.1: cannot open shared object file: No > such file or directory > {code} > Downgrading boost to {{1.65.1}} gives a symbol lookup error: > {code} > $ conda install boost-cpp=1.65.1 -y -c conda-forge > $ python -c 'import pyarrow' > Traceback (most recent call last): > File "<string>", line 1, in <module> > File > "/home/phillip/miniconda3/envs/py36/lib/python3.6/site-packages/pyarrow/__init__.py", > line 47 > , in <module> > from pyarrow.lib import cpu_count, set_cpu_count > ImportError: > /home/phillip/miniconda3/envs/py36/lib/python3.6/site-packages/pyarrow/../../../libarrow.so.0: > undefined symbol: > _ZN5boost13match_resultsIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS_9sub_matchISB_EEEE12maybe_assignERKSF_ > {code} > Installing {{pyarrow}} from {{defaults}} and importing it works fine. > cc [~kszucs] [~xhochy] -- This message was sent by Atlassian JIRA (v7.6.3#76005)