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

2017-05-06 Thread Uwe L. Korn (JIRA)

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

Uwe L. Korn commented on ARROW-909:
---

[~abdulrahman004] Did you have any special compilation/linking options set? 
Normally {{pyarrow/_config.so}} should not link to {{libjemalloc.so.2}}. If you 
are able to run {{lddtree pyarrow/_config.so}}, it would really help me to 
understand where the linkage is coming from.

I made PR https://github.com/apache/arrow/pull/651 to cover for the initial 
problem that when building jemalloc as an external project it should be 
statically linked as the shared library is not installed on {{make install}}.

> 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 "", line 1, in 
>   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 
> 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)


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

2017-04-28 Thread Abdul Rahman (JIRA)

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

Abdul Rahman commented on ARROW-909:


[~wesmckinn] Thanks. I noticed arrow/cpp does have jemalloc in the build 
folder, but doesnt load them in system libraries.f

> 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 "", line 1, in 
>   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 
> 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)


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

2017-04-28 Thread Wes McKinney (JIRA)

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

Wes McKinney commented on ARROW-909:


I opened ARROW-913 to make the user experience with jemalloc a bit more 
pleasant (only complain when you try to use the extension)

> 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 "", line 1, in 
>   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 
> 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)


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

2017-04-28 Thread Wes McKinney (JIRA)

[ 
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 "", line 1, in 
>   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 
> 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)