<div dir="ltr"><div>Hi,</div><div><br></div><div>I'm trying to get an OSX dev build going against the current master branch with test support. When I try to run the import as is being done by the CI script, I get an error. It fails when trying to resolve _CPLQuietWarningsErrorHandler, which I see is a new function. That function is contained in the built libgdal.dylib:<br><br>(gdal.2) [issue-11533] $ nm libgdal.dylib | grep _CPLQuietWarningsErrorHandler<br>00000000000292d0 T _CPLQuietWarningsErrorHandler<br><br>Any suggestions on resolution would be appreciated.<br><br>Here is the error:<br><br></div><span class="gmail_signature_prefix">(gdal.2) [issue-11533] $ DYLD_LIBRARY_PATH=/Users/abell/gdal/build PYTHONPATH=/Users/abell/gdal/build/swig/python python3 -c "from osgeo import gdal"<br>Traceback (most recent call last):<br>  File "/Users/abell/gdal/build/swig/python/osgeo/__init__.py", line 30, in swig_import_helper<br>    return importlib.import_module(mname)<br>           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^<br>  File "/Users/abell/miniconda3/envs/gdal.2/lib/python3.13/importlib/__init__.py", line 88, in import_module<br>    return _bootstrap._gcd_import(name[level:], package, level)<br>           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import<br>  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load<br>  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked<br>  File "<frozen importlib._bootstrap>", line 921, in _load_unlocked<br>  File "<frozen importlib._bootstrap>", line 813, in module_from_spec<br>  File "<frozen importlib._bootstrap_external>", line 1320, in create_module<br>  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed<br>ImportError: dlopen(/Users/abell/gdal/build/swig/python/osgeo/_<a href="http://gdal.cpython-313-darwin.so">gdal.cpython-313-darwin.so</a>, 0x0002): symbol not found in flat namespace '_CPLQuietWarningsErrorHandler'<br><br>During handling of the above exception, another exception occurred:<br><br>Traceback (most recent call last):<br>  File "<string>", line 1, in <module><br>    from osgeo import gdal<br>  File "/Users/abell/gdal/build/swig/python/osgeo/__init__.py", line 35, in <module><br>    _gdal = swig_import_helper()<br>  File "/Users/abell/gdal/build/swig/python/osgeo/__init__.py", line 32, in swig_import_helper<br>    return importlib.import_module('_gdal')<br>           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^<br>  File "/Users/abell/miniconda3/envs/gdal.2/lib/python3.13/importlib/__init__.py", line 88, in import_module<br>    return _bootstrap._gcd_import(name[level:], package, level)<br>           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>ModuleNotFoundError: No module named '_gdal'</span><div><span class="gmail_signature_prefix"><br></span></div><div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div></div></div>