[gdal-dev] compiling gdal: ogr_ODS error

andy aborruso at gmail.com
Sat Aug 26 05:51:30 PDT 2023


Hi,
if I remove OGDI support "cmake -D GDAL_USE_GEOS=ON -D GDAL_USE_PARQUET=ON
-D OGR_ENABLE_DRIVER_OGDI:BOOL=OFF ..", I have the error below  after
"cmake --build ."

[ 93%] Built target gcore_mdreader
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

-- 
___________________

Andrea Borruso
website: https://medium.com/tantotanto
38° 7' 48" N, 13° 21' 9" E, EPSG:4326
___________________

"cercare e saper riconoscere chi e cosa,
 in mezzo all’inferno, non è inferno,
e farlo durare, e dargli spazio"

Italo Calvino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230826/d1f94cd7/attachment-0001.htm>


More information about the gdal-dev mailing list