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 2017/04/28 21:08:04 UTC

[jira] [Commented] (ARROW-909) libjemalloc.so.2: cannot open shared object file:

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

Wes McKinney commented on ARROW-909:
------------------------------------

hi [~abdulrahman004]. Do you have the jemalloc libraries installed in your system? {{libjemalloc}} must be in your library loader path; having {{libarrow_jemalloc.so}} is not enough because this is only a binding to Arrow's memory allocator. So either install jemalloc on your system or simply don't build that extension. We have provided for building jemalloc in the C++ libraries' thirdparty stack to facilitate cross-platform packaging (e.g. manylinux1 for Python packages). The expectation is that it will be separately installed on the system where it's deployed. 

> Also, noticed that arrow/python documentation has been cleaned up with the installation instructions having the coda approach only .Is this the only supported way going forward ?

I guess we have to define "supported". It's hard for us to be on the hook to debug build issues on any arbitrary platform. I added the conda build because that's reasonably portable, and doesn't involve platform specific details (like Linux package managers, or Homebrew). It would be great if you or other could contribute reproducible build instructions for other platforms and package managers. I opened https://issues.apache.org/jira/browse/ARROW-911 to cover this. It would be good to have a build guide for macOS, Ubuntu 14.04 and 16.04, and CentOS/RedHat 6 and/or 7. Since most of the dependencies build out of the box, there will be minimal pre-requisites to install from apt-get/yum/Homebrew. Patches welcome. 

> libjemalloc.so.2: cannot open shared object file: 
> --------------------------------------------------
>
>                 Key: ARROW-909
>                 URL: https://issues.apache.org/jira/browse/ARROW-909
>             Project: Apache Arrow
>          Issue Type: Bug
>         Environment: linux centos
>            Reporter: Abdul Rahman
>              Labels: pyarrow
>
> >>> import pyarrow
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/home/default/src/venv/lib/python2.7/site-packages/pyarrow-0.2.1.dev244+g14bec24-py2.7-linux-x86_64.egg/pyarrow/__init__.py", line 28, in <module>
>     import pyarrow._config
> ImportError: libjemalloc.so.2: cannot open shared object file: No such file or directory
> $LD_LIBRARY_PATH has libarrow_jemalloc.a along with other libraries including libarrow.so,  libparquet.so, libparquet_arrow.so. Pyarrow was built using ----with-jemalloc and parquet-cpp was cmake-d with 
> -DPARQUET_ARROW=ON  
> Also, noticed that arrow/python documentation has been cleaned up with the installation instructions having the coda approach only .Is this the only supported way going forward ?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)