[gdal-dev] compiling gdal: ogr_ODS error

andy aborruso at gmail.com
Mon Aug 28 08:01:07 PDT 2023


Hi Even,

On Mon, 28 Aug 2023 at 16:19, Even Rouault <even.rouault at spatialys.com>
wrote:

>
> > Do you have some tips for me, to avoid the reference to 14?
> The below error message suggest you have a dangling
> /usr/local/lib/cmake/Arrow/ArrowTargets.cmake file ==> remove the
> /usr/local/lib/cmake/Arrow directory
>

I have removed all 14 reference folders. Now I have

-- Arrow version: 13.0.0
-- Found the Arrow shared library:
/usr/lib/x86_64-linux-gnu/libarrow.so.1300.0.0
-- Found the Arrow import library: ARROW_IMPORT_LIB-NOTFOUND
-- Found the Arrow static library: /usr/lib/x86_64-linux-gnu/libarrow.a
-- Parquet version: 13.0.0
-- Found the Parquet shared library:
/usr/lib/x86_64-linux-gnu/libparquet.so.1300.0.0
-- Found the Parquet import library: PARQUET_IMPORT_LIB-NOTFOUND
-- Found the Parquet static library: /usr/lib/x86_64-linux-gnu/libparquet.a
-- ArrowAcero version: 13.0.0
-- Found the ArrowAcero shared library:
/usr/lib/x86_64-linux-gnu/libarrow_acero.so.1300.0.0
-- Found the ArrowAcero import library: ARROW_ACERO_IMPORT_LIB-NOTFOUND
-- Found the ArrowAcero static library:
/usr/lib/x86_64-linux-gnu/libarrow_acero.a
-- ArrowDataset version: 13.0.0
-- 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


But when I run "cmake --build ."  I have this much smaller error:

/usr/bin/ld:
ogr/ogrsf_frmts/arrow/CMakeFiles/ogr_Arrow.dir/ogrfeatherwriterlayer.cpp.o:
in function `OGRFeatherWriterLayer::CreateWriter()':
ogrfeatherwriterlayer.cpp:(.text+0x15ee): undefined reference to
`arrow::util::Codec::Create(arrow::Compression::type,
arrow::util::CodecOptions const&)'
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

Is it necessary to install also pyarrow?

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230828/9228999a/attachment-0001.htm>


More information about the gdal-dev mailing list