Edit Package gdal

gdal

No description set
Refresh
Refresh
Source Files
Filename Size Changed
GDALmake.opt.in.patch 0000000552 552 Bytes over 1 year
_constraints 0000000167 167 Bytes about 1 year
gdal-3.3.2.tar.xz 0012940900 12.3 MB 14 days
gdal-3.3.2.tar.xz.md5 0000000052 52 Bytes 14 days
gdal-perl.patch 0000000984 984 Bytes almost 3 years
gdal.changes 0000047052 45.9 KB 14 days
gdal.spec 0000017303 16.9 KB 14 days
gdalautotest-3.3.2.tar.gz 0040755200 38.9 MB 14 days
Comments for gdal 3


John Vandenberg's avatar

jayvdb wrote 10 months ago

I believe this needs a runtime dependency on libgeotiff5 >= 1.6.0

  File "/usr/lib/python3.8/site-packages/django/contrib/gis/forms/__init__.py", line 3, in <module>
    from .fields import (  # NOQA
  File "/usr/lib/python3.8/site-packages/django/contrib/gis/forms/fields.py", line 2, in <module>
    from django.contrib.gis.gdal import GDALException
  File "/usr/lib/python3.8/site-packages/django/contrib/gis/gdal/__init__.py", line 28, in <module>
    from django.contrib.gis.gdal.datasource import DataSource
  File "/usr/lib/python3.8/site-packages/django/contrib/gis/gdal/datasource.py", line 39, in <module>
    from django.contrib.gis.gdal.driver import Driver
  File "/usr/lib/python3.8/site-packages/django/contrib/gis/gdal/driver.py", line 5, in <module>
    from django.contrib.gis.gdal.prototypes import ds as vcapi, raster as rcapi
  File "/usr/lib/python3.8/site-packages/django/contrib/gis/gdal/prototypes/ds.py", line 9, in <module>
    from django.contrib.gis.gdal.libgdal import GDAL_VERSION, lgdal
  File "/usr/lib/python3.8/site-packages/django/contrib/gis/gdal/libgdal.py", line 46, in <module>
    lgdal = CDLL(lib_path)
  File "/usr/lib64/python3.8/ctypes/__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /usr/lib64/libgdal.so.28: undefined symbol: GTIFGetGCSInfoEx

https://stackoverflow.com/questions/64701098/undefined-symbol-gtifgetgcsinfoex

And then File "/usr/lib/python3.8/site-packages/django/contrib/gis/gdal/prototypes/ds.py", line 9, in <module> from django.contrib.gis.gdal.libgdal import GDAL_VERSION, lgdal File "/usr/lib/python3.8/site-packages/django/contrib/gis/gdal/libgdal.py", line 46, in <module> lgdal = CDLL(lib_path) File "/usr/lib64/python3.8/ctypes/__init__.py", line 373, in __init__ self._handle = _dlopen(self._name, mode) OSError: /usr/lib64/libgdal.so.28: undefined symbol: TIFFGetStrileByteCountWithErr Currently using libtiff5-4.0.10-2.3.x86_64 Needs to be 4.1.0+ according to http://osgeo-org.1560.x6.nabble.com/GDAL-3-1-linking-issue-with-TIFFGetStrileByteCountWithErr-td5447738.html

then from django.contrib.gis.gdal.libgdal import GDAL_VERSION, lgdal File "/usr/lib/python3.8/site-packages/django/contrib/gis/gdal/libgdal.py", line 46, in <module> lgdal = CDLL(lib_path) File "/usr/lib64/python3.8/ctypes/__init__.py", line 373, in __init__ self._handle = _dlopen(self._name, mode) OSError: /usr/lib64/libgdal.so.28: undefined symbol: proj_crs_get_datum_ensemble I have libproj19-7.0.0-1.1.x86_64 installed. Probably need 7.2.0

then

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)

libstdc++6-32bit-9.1.1+r271393-1.3.x86_64 libstdc++6-10.1.1+git40-1.13.x86_64 libstdc++6-pp-gcc10-10.1.1+git40-1.13.x86_64

Updating that didnt fix it. So I did a complete upgrade, and then it was fixed.


Bruno Friedmann's avatar

bruno_friedmann wrote 10 months ago

obs is not the way to report trouble, bugzilla is the right tool. In the meantime I don't know what packages you have but on Factory or in Application:Geo gdal is builded with proj 7.2.x and libgeotiff 1.6x.

openSUSE Build Service is sponsored by