Hi scott, > Parquet issue. Do you have apache-arrow installed? > https://arrow.apache.org/docs/index.html
I have installed pyarrow and compiled arrow/cpp. During "cmake -D GDAL_USE_GEOS=ON -D GDAL_USE_PARQUET=ON -D OGR_ENABLE_DRIVER_OGDI:BOOL=OFF ..", I have -- Found the ArrowDataset shared library: /usr/lib/x86_64-linux-gnu/libarrow_dataset.so.1300.0.0 -- Found the ArrowDataset import library: ARROW_DATASET_IMPORT_LIB-NOTFOUND -- Found the ArrowDataset static library: /usr/lib/x86_64-linux-gnu/libarrow_dataset.a The second one is not a blocking error. When I run "cmake --build ." I have the below error. Thank you Scanning dependencies of target GDAL [ 93%] Linking CXX shared library libgdal.so /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o: in function `GetFileSystem(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': ogrparquetdriver.cpp:(.text+0x1193): undefined reference to `arrow::fs::FileSystemFromUriOrPath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o: in function `arrow::fs::FileSystem::FileSystem(arrow::io::IOContext const&)': ogrparquetdriver.cpp:(.text._ZN5arrow2fs10FileSystemC2ERKNS_2io9IOContextE[_ZN5arrow2fs10FileSystemC5ERKNS_2io9IOContextE]+0x23): undefined reference to `vtable for arrow::fs::FileSystem' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o: in function `VSIArrowFileSystem::VSIArrowFileSystem(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': ogrparquetdriver.cpp:(.text._ZN18VSIArrowFileSystemC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN18VSIArrowFileSystemC5ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x57): undefined reference to `arrow::fs::FileSystem::~FileSystem()' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o: in function `VSIArrowFileSystem::Equals(arrow::fs::FileSystem const&) const': ogrparquetdriver.cpp:(.text._ZNK18VSIArrowFileSystem6EqualsERKN5arrow2fs10FileSystemE[_ZNK18VSIArrowFileSystem6EqualsERKN5arrow2fs10FileSystemE]+0x2a): undefined reference to `typeinfo for arrow::fs::FileSystem' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o:(.data.rel.ro._ZTV18VSIArrowFileSystem[_ZTV18VSIArrowFileSystem]+0x28): undefined reference to `arrow::fs::FileSystem::NormalizePath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o:(.data.rel.ro._ZTV18VSIArrowFileSystem[_ZTV18VSIArrowFileSystem]+0x30): undefined reference to `arrow::fs::FileSystem::PathFromUri(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o:(.data.rel.ro._ZTV18VSIArrowFileSystem[_ZTV18VSIArrowFileSystem]+0x50): undefined reference to `arrow::fs::FileSystem::GetFileInfo(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o:(.data.rel.ro._ZTV18VSIArrowFileSystem[_ZTV18VSIArrowFileSystem]+0x60): undefined reference to `arrow::fs::FileSystem::GetFileInfoAsync(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o:(.data.rel.ro._ZTV18VSIArrowFileSystem[_ZTV18VSIArrowFileSystem]+0x68): undefined reference to `arrow::fs::FileSystem::GetFileInfoGenerator(arrow::fs::FileSelector const&)' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o:(.data.rel.ro._ZTV18VSIArrowFileSystem[_ZTV18VSIArrowFileSystem]+0x88): undefined reference to `arrow::fs::FileSystem::DeleteDirContentsAsync(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o:(.data.rel.ro._ZTV18VSIArrowFileSystem[_ZTV18VSIArrowFileSystem]+0xa0): undefined reference to `arrow::fs::FileSystem::DeleteFiles(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o:(.data.rel.ro._ZTV18VSIArrowFileSystem[_ZTV18VSIArrowFileSystem]+0xc0): undefined reference to `arrow::fs::FileSystem::OpenInputStream(arrow::fs::FileInfo const&)' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o:(.data.rel.ro._ZTV18VSIArrowFileSystem[_ZTV18VSIArrowFileSystem]+0xd0): undefined reference to `arrow::fs::FileSystem::OpenInputFile(arrow::fs::FileInfo const&)' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o:(.data.rel.ro._ZTV18VSIArrowFileSystem[_ZTV18VSIArrowFileSystem]+0xd8): undefined reference to `arrow::fs::FileSystem::OpenInputStreamAsync(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o:(.data.rel.ro._ZTV18VSIArrowFileSystem[_ZTV18VSIArrowFileSystem]+0xe0): undefined reference to `arrow::fs::FileSystem::OpenInputStreamAsync(arrow::fs::FileInfo const&)' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o:(.data.rel.ro._ZTV18VSIArrowFileSystem[_ZTV18VSIArrowFileSystem]+0xe8): undefined reference to `arrow::fs::FileSystem::OpenInputFileAsync(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o:(.data.rel.ro._ZTV18VSIArrowFileSystem[_ZTV18VSIArrowFileSystem]+0xf0): undefined reference to `arrow::fs::FileSystem::OpenInputFileAsync(arrow::fs::FileInfo const&)' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o: in function `VSIArrowFileSystem::~VSIArrowFileSystem()': ogrparquetdriver.cpp:(.text._ZN18VSIArrowFileSystemD2Ev[_ZN18VSIArrowFileSystemD5Ev]+0x32): undefined reference to `arrow::fs::FileSystem::~FileSystem()' /usr/bin/ld: ogr/ogrsf_frmts/parquet/CMakeFiles/ogr_Parquet.dir/ogrparquetdriver.cpp.o:(.data.rel.ro._ZTI18VSIArrowFileSystem[_ZTI18VSIArrowFileSystem]+0x10): undefined reference to `typeinfo for arrow::fs::FileSystem' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/GDAL.dir/build.make:2638: libgdal.so.33.3.7.1] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:4667: CMakeFiles/GDAL.dir/all] Error 2 gmake: *** [Makefile:160: all] Error 2
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev