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

Ryan White commented on ARROW-4327:
-----------------------------------

With the existing requirements files (currently 3) in arrow/python, the recipe 
used in Dockerfile.alpine can be used.

[https://github.com/apache/arrow/blob/1ba029cad7a064c90bcbb7706562e53238ac5712/python/Dockerfile.alpine#L37]
{code:java}
RUN pip install -r /arrow/python/requirements.txt cython && \

pip install -r /arrow/python/requirements-test.txt
{code}
Combining all requirements into a single file did work for the centos build but 
not for alpine (as commented in the dockerfile).

 

> [Python] pyarrow fails to load libarrow.so in Fedora / CentOS Docker build
> --------------------------------------------------------------------------
>
>                 Key: ARROW-4327
>                 URL: https://issues.apache.org/jira/browse/ARROW-4327
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Documentation, Python
>         Environment: CentOS7 or Fedora29
>            Reporter: Ryan White
>            Priority: Minor
>              Labels: build
>             Fix For: 0.13.0
>
>
> Trying to build pyarrow on CentOS or Fedora fails to load libarrow.so. The 
> build does not use conda, rather is similar to the OSX build instructions. 
>  A dockerfile is available here:
> https://github.com/ryanmackenziewhite/dockers/blob/master/centos7-py36-arrowbuild/Dockerfile
> {code:java}
> // ImportError while loading conftest 
> '/work/repos/arrow/python/pyarrow/tests/conftest.py'.
> pyarrow/__init__.py:54: in <module>
> from pyarrow.lib import cpu_count, set_cpu_count
> E ImportError: libarrow.so.12: cannot open shared object file: No such file 
> or directory
> {code}
>  



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

Reply via email to