[gdal-dev] compiling gdal: ogr_ODS error

andy aborruso at gmail.com
Mon Aug 28 06:45:43 PDT 2023


Hi Evan,
and thank you.

it seems like you have a mix of Arrow related libs: 13.0 with ArrowAcero
> and ArrowDataset in /usr/lib/x86_64-linux-gnu, and 14.0 for arrow and
> parquet in /usr/local/lib. This is very prone to lead to errors at build
> time or runtime. You should use libraries coming from one single version
> for all those libs.


if I run "dpkg -l | grep arrow"  I have only "13.0.0-1"

ii  apache-arrow-apt-source           13.0.0-1
all          GnuPG archive key of the Apache Arrow archive
ii  gir1.2-arrow-1.0:amd64            13.0.0-1
amd64        Apache Arrow is a data processing library for analysis
ii  gir1.2-arrow-dataset-1.0:amd64    13.0.0-1
amd64        Apache Arrow is a data processing library for analysis
ii  libarrow-acero-dev:amd64          13.0.0-1
amd64        Apache Arrow is a data processing library for analysis
ii  libarrow-acero1300:amd64          13.0.0-1
amd64        Apache Arrow is a data processing library for analysis
ii  libarrow-dataset-dev:amd64        13.0.0-1
amd64        Apache Arrow is a data processing library for analysis
ii  libarrow-dataset-glib-dev:amd64   13.0.0-1
amd64        Apache Arrow is a data processing library for analysis
ii  libarrow-dataset-glib1300:amd64   13.0.0-1
amd64        Apache Arrow is a data processing library for analysis
ii  libarrow-dataset1300:amd64        13.0.0-1
amd64        Apache Arrow is a data processing library for analysis
ii  libarrow-dev:amd64                13.0.0-1
amd64        Apache Arrow is a data processing library for analysis
ii  libarrow-glib-dev:amd64           13.0.0-1
amd64        Apache Arrow is a data processing library for analysis
ii  libarrow-glib1300:amd64           13.0.0-1
amd64        Apache Arrow is a data processing library for analysis
ii  libarrow1300:amd64                13.0.0-1
amd64        Apache Arrow is a data processing library for analysis

I have removed from "/usr/local/lib" these files

./libparquet.so.1400
./libarrow.so.1400.0.0
./libparquet.so.1400.0.0
./libarrow.so.1400

But now, when I run "cmake -D OGR_ENABLE_DRIVER_OGDI:BOOL=OFF  .." I have
the below error.
I have already tried before to run "sudo apt remove libarrow-lite14
libarrow14 libarrow-cpu14 libarrow-gpu14 libparquet14", but I have "E:
Unable to locate package" errors.


Do you have some tips for me, to avoid the reference to 14?

Thank you



CMake Error at /usr/local/lib/cmake/Arrow/ArrowTargets.cmake:88 (message):
  The imported target "Arrow::arrow_shared" references the file

     "/usr/local/lib/libarrow.so.1400.0.0"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/local/lib/cmake/Arrow/ArrowTargets.cmake"

  but not all the files it references.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230828/abe6df23/attachment.htm>


More information about the gdal-dev mailing list