[ https://issues.apache.org/jira/browse/ARROW-5411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rok Mihevc updated ARROW-5411: ------------------------------ External issue URL: https://github.com/apache/arrow/issues/21864 > [C++][Python] Build error building on Mac OS Mojave > --------------------------------------------------- > > Key: ARROW-5411 > URL: https://issues.apache.org/jira/browse/ARROW-5411 > Project: Apache Arrow > Issue Type: Bug > Components: C++, Python > Environment: Mac OSX Mojave 10.14.5 > Anaconda 4.6.14 > XCode 10.2.1 > CLANGXX=/Users/mcabrera/anaconda3/envs/pyarrow-dev/bin/x86_64-apple-darwin13.4.0-clang++ > CLANG=/Users/mcabrera/anaconda3/envs/pyarrow-dev/bin/x86_64-apple-darwin13.4.0-clang > Reporter: Miguel Cabrera > Assignee: Uwe Korn > Priority: Major > Fix For: 0.14.0 > > > After following the instruction on the Python development and Building > instruction for C++, I get a linking error: > > {code:java} > $ pwd > /Users/mcabrera/dev/arrow/cpp/release > $ cmake -DARROW_BUILD_TESTS=ON .. > (....) > ld: warning: ignoring file > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, > file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 > 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the > architecture being linked (x86_64): > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd}} > ld: dynamic main executables must link with libSystem.dylib for architecture > x86_64 > clang-4.0: error: linker command failed with exit code 1 (use -v to see > invocation) > make[1]: *** [cmTC_510d0] Error 1 > make: *** [cmTC_510d0/fast] Error 2 > {code} > Same issue if I follow the instructions on the Python Development > documentation > {code:java} > mkdir arrow/cpp/build > pushd arrow/cpp/build > cmake -DCMAKE_INSTALL_PREFIX=$ARROW_HOME \ > -DCMAKE_INSTALL_LIBDIR=lib \ > -DARROW_FLIGHT=ON \ > -DARROW_GANDIVA=ON \ > -DARROW_ORC=ON \ > -DARROW_PARQUET=ON \ > -DARROW_PYTHON=ON \ > -DARROW_PLASMA=ON \ > -DARROW_BUILD_TESTS=ON \ > .. > {code} > The Python development documentation is not clear whether in order to build > the Python (and CPP library) brew depedencies are necessary (or just with the > Anaconda is enough) so I installed them nonetheless. However I get the same > issue > h2. Enviornment > {code:java} > Mac OSX Mojave 10.14.5 > Anaconda 4.6.14 > XCode 10.2.1 > CLANGXX=/Users/mcabrera/anaconda3/envs/pyarrow-dev/bin/x86_64-apple-darwin13.4.0-clang++ > CLANG=/Users/mcabrera/anaconda3/envs/pyarrow-dev/bin/x86_64-apple-darwin13.4.0-clang{code} > > > > > > -- This message was sent by Atlassian Jira (v8.20.10#820010)