You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "paleolimbot (via GitHub)" <gi...@apache.org> on 2023/07/12 16:23:43 UTC

[GitHub] [arrow-nanoarrow] paleolimbot commented on issue #254: Tests fail linking against libarrow.so built in Conda environment

paleolimbot commented on issue #254:
URL: https://github.com/apache/arrow-nanoarrow/issues/254#issuecomment-1632847590

   Thank you for reporting!
   
   I can reproduce this on Ubuntu 22.04 with:
   
   ```bash
   conda create --name nanoarrow-verify-rc
   conda activate nanoarrow-verify-rc
   conda config --set channel_priority strict
   
   mamba install -c conda-forge compilers cmake make git xsimd
   curl https://dlcdn.apache.org/arrow/arrow-12.0.1/apache-arrow-12.0.1.tar.gz | \
     tar -zxf -
   mkdir arrow-build && cd arrow-build
   cmake ../apache-arrow-12.0.1/cpp -DARROW_FILESYSTEM=ON -DARROW_WITH_ZLIB=ON -DARROW_DEPENDENCY_SOURCE=CONDA
   cmake --build . --parallel=$(nproc)
   cmake --install . --prefix=${CONDA_PREFIX}
   cd ..
   
   git clone https://github.com/apache/arrow-nanoarrow.git arrow-nanoarrow
   cd arrow-nanoarrow
   mkdir build && cd build
   cmake .. -DCMAKE_BUILD_TYPE=Debug -DNANOARROW_BUILD_TESTS=ON -DCMAKE_BUILD_RPATH=${CONDA_PREFIX}/lib
   cmake --build .
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org