Opened 5 years ago

Closed 5 years ago

#58899 closed defect (fixed)

py-gdal issues after updating GDAL to 2.3.2_6

Reported by: piyushrpt Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: petrrr
Port: gdal, py-gdal, sfcgal

Description (last modified by piyushrpt)

In [1]: from osgeo import gdal
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/osgeo/_gdal.cpython-37m-darwin.so, 2): Symbol not found: 
__ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
  Referenced from: /opt/local/lib/libSFCGAL.1.dylib
  Expected in: /opt/local/lib/libboost_thread-mt.dylib
 in /opt/local/lib/libSFCGAL.1.dylib

Encountering GDAL import errors in Python after updating GDAL to latest version

gdal @2.3.2_6+hdf5+netcdf+openjpeg+postgresql10 (active)
py37-gdal @2.3.2_0 (active)
boost @1.71.0_0+no_single+no_static+python37 (active)
sfcgal @1.3.6_0 (active)

Change History (7)

comment:1 Changed 5 years ago by piyushrpt

Description: modified (diff)

comment:2 Changed 5 years ago by jmroot (Joshua Root)

Cc: petrrr added
Owner: set to Veence
Status: newassigned

comment:3 Changed 5 years ago by Veence (Vincent)

I’m in the process of overhauling the whole MacPorts GIS architecture, so please be patient!

comment:4 Changed 5 years ago by reneeotten (Renee Otten)

both gdal and its py-gdal Python bindings have been updated to version 3.0.1, and I cannot reproduce the issue anymore. @piyushrpt: can you please check if this indeed works for you and comment here?

Last edited 5 years ago by reneeotten (Renee Otten) (previous) (diff)

comment:5 Changed 5 years ago by piyushrpt

Yes.Both those ports now work. Thanks for the fixes.

comment:6 Changed 5 years ago by reneeotten (Renee Otten)

In 36112b71b0e08ec0af046596d027dc3fe6987ef0/macports-ports (master):

py-gdal: remove py34 subport

  • use python.rootname, default PyPI livecheck
  • remove obsolete cxx11 PG

See: #58899

comment:7 Changed 5 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.