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/01/22 22:56:00 UTC

[jira] [Commented] (ARROW-4327) ImportError: libarrow.so py.test fails with Fedora / CentOS build

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

Wes McKinney commented on ARROW-4327:
-------------------------------------

If I had to guess, the libraries are being installed into {{$ARROW_HOME/lib64}} instead of {{$ARROW_HOME/lib}}, based on

{code}
ENV ARROW_HOME=$WORKDIR/repos/dist
ENV PARQUET_HOME=$WORKDIR/repos/dist
ENV LD_LIBRARY_PATH=$WORKDIR/repos/dist/lib:$LD_LIBRARY_PATH
{code}

that would definitely fail. In http://arrow.apache.org/docs/python/development.html#build-and-test we recommend passing {{-DCMAKE_INSTALL_LIBDIR=lib}} to avoid this.

If that is not the case can you post a complete logfile?

> ImportError: libarrow.so py.test fails with Fedora / CentOS build
> -----------------------------------------------------------------
>
>                 Key: ARROW-4327
>                 URL: https://issues.apache.org/jira/browse/ARROW-4327
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>         Environment: CentOS7 or Fedora29
>            Reporter: Ryan White
>            Priority: Minor
>              Labels: build
>
> 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)