Comments (4)
Wild guess, might it be related to OSGeo/gdal#5152
?
from gdal-grass.
Wild guess, might it be related to OSGeo/gdal#5152
yes and no, it looks more like the plugin is built against GDAL 3.5 headers but run against an older GDAL library. Look at the output of "ldd /discover/swdev/sacs/sw/base/gcc12-3.5.1/gdal-3.5.1/lib/gdalplugins/ogr_GRASS.so" to check which GDAL runtime library is linked.
from gdal-grass.
Looks like it's linking to the correct (3.5.1) rev of the source-obj(as part of LD_LIBRARY_PATH), and appears to be finding all that it's looking for, but the issue persists
(sacs-3.5.1) [ssinno@discover23 gdalplugins]ldd -v gdal_GRASS.so| egrep '(gdal|not found)'
libgdal.so.31 => /discover/swdev/sacs/sw/sacs-3.5.1/gdal-3.5.1/lib/libgdal.so.31 (0x00007ffff5ee6000)
./gdal_GRASS.so:
/discover/swdev/sacs/sw/sacs-3.5.1/gdal-3.5.1/lib/libgdal.so.31:
(sacs-3.5.1) [ssinno@discover23 gdalplugins]ldd -v ogr_GRASS.so| egrep '(gdal|not found)'
libgdal.so.31 => /discover/swdev/sacs/sw/sacs-3.5.1/gdal-3.5.1/lib/libgdal.so.31 (0x00007ffff5ee6000)
/discover/swdev/sacs/sw/sacs-3.5.1/gdal-3.5.1/lib/libgdal.so.31:
(sacs-3.5.1) [ssinno@discover23 gdalplugins]gdalinfo --version
ERROR 1: /discover/swdev/sacs/sw/base/gcc12-3.5.1/gdal-3.5.1/lib/gdalplugins/ogr_GRASS.so: undefined symbol: _ZNK11GDALDataset19GetFieldDomainNamesB5cxx11EPKPKc
from gdal-grass.
I attempted the same on an entirely new & different system in AWS(Ubuntu LTS 20.04, as opposed to prior SLES12), and gcc9 instead of gcc12, no other GDAL libraries on the entire systsem, and...exact same results. I'd wager this is trivially reproduceable on any system.
[ssinno@nasaAWS gdal-grass-1.0.1]gdalinfo --version
ERROR 1: /shared/sacs/sw/base/gcc9-3.5.1/gdal-3.5.1/lib/gdalplugins/ogr_GRASS.so: undefined symbol: _ZNK11GDALDataset19GetFieldDomainNamesB5cxx11EPKPKc
ERROR 1: /shared/sacs/sw/base/gcc9-3.5.1/gdal-3.5.1/lib/gdalplugins/ogr_GRASS.so: undefined symbol: _ZNK11GDALDataset19GetFieldDomainNamesB5cxx11EPKPKc
ERROR 1: /shared/sacs/sw/base/gcc9-3.5.1/gdal-3.5.1/lib/gdalplugins/gdal_GRASS.so: undefined symbol: _ZNK11GDALDataset19GetFieldDomainNamesB5cxx11EPKPKc
ERROR 1: /shared/sacs/sw/base/gcc9-3.5.1/gdal-3.5.1/lib/gdalplugins/gdal_GRASS.so: undefined symbol: _ZNK11GDALDataset19GetFieldDomainNamesB5cxx11EPKPKc
GDAL 3.5.1, released 2022/06/30
from gdal-grass.
Related Issues (11)
- Fails to build with GDAL 3.6.0 HOT 4
- configure should detect if GRASS is compiled with Postgres HOT 2
- Release packaging HOT 5
- Dependency Dashboard
- Add CMake support
- Fails to build with GDAL 3.8.0 HOT 1
- Time for new release? HOT 6
- Consider to also transfer driver pytest scripts HOT 2
- cmake build issue on Fedora 38: Could NOT find PROJ (missing: PROJINC) HOT 3
- undefined GDAL symbols in ogr/gdal_GRASS.so HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdal-grass.