<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Andrew,</p>
<p>Perhaps you're running updated GDAL Python bindings against a
libgdal that hasn't been rebuilt recently? OSRIsDerivedProjected()
has been added recently both in libgdal and the bindings</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 29/04/2024 à 23:27, Andrew Bell via
gdal-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CACJ51z3jigezS0dmv5tNj3MA==8Lp8AQbiTo4stoSQRbVQv3FA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I just merged master into my branch and I'm now getting an
error when trying to run a test. If someone might know what
happened, I'd appreciate a tip.</div>
<div><br>
(gdal) [master] $ pytest -v
autotest/utilities/test_gdal_viewshed.py<br>
ImportError while loading conftest
'/Users/abell/gdal.2/build/autotest/conftest.py'.<br>
autotest/conftest.py:9: in <module><br>
from osgeo import gdal, ogr, osr<br>
swig/python/osgeo/gdal.py:3942: in <module><br>
from . import ogr<br>
swig/python/osgeo/ogr.py:608: in <module><br>
from . import osr<br>
swig/python/osgeo/osr.py:13: in <module><br>
from . import _osr<br>
E ImportError:
dlopen(/Users/abell/gdal.2/build/swig/python/osgeo/_<a
href="http://osr.cpython-312-darwin.so"
moz-do-not-send="true">osr.cpython-312-darwin.so</a>,
0x0002): symbol not found in flat namespace
'_OSRIsDerivedProjected'<br>
</div>
<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"
moz-do-not-send="true" class="moz-txt-link-freetext">andrew.bell.ia@gmail.com</a></div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>