File not found: gdal-libproj.patch

gdal

Edit Package gdal
No description set
Refresh
Refresh
Source Files
Filename Size Changed
_constraints 0000000167 167 Bytes
gdal-3.10.0.tar.xz 0009194528 8.77 MB
gdal-3.10.0.tar.xz.md5 0000000053 53 Bytes
gdal.changes 0000060611 59.2 KB
gdal.spec 0000016003 15.6 KB
gdalautotest-3.10.0.tar.gz 0017661147 16.8 MB
Latest Revision
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1222598 from Benjamin Greiner's avatar Benjamin Greiner (bnavigator) (revision 91)
- Update to feature release 3.10.0
  * https://github.com/OSGeo/gdal/blob/v3.10.0/NEWS.md
  * RFC 101: Raster dataset read-only thread-safety
  * New read/write AVIF raster driver
  * New read-only SNAP_TIFF raster driver for Sentinel Application
    Processing GeoTIFF files
  * New OGR read-only XODR driver for OpenDRIVE (#9504)
  * Code linting and security fixes
  * Bump of shared lib major version
Comments 3


John Vandenberg's avatar

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

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