<div dir="ltr"><div>I agree that this seems more likely to be an issue with PROJ. I found suggestions from Mike Taves in the PROJ project and am following them.</div><div><br></div><div>I'm trying GDAL 3.5.0rc4 with PROJ 8.2.1 and will follow up in an hour.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 10, 2022 at 3:33 PM Even Rouault <<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Sean,</p>
<p>So your issue is with a GDAL autoconf build. I can't see any
significant changes in <a href="http://configure.ac" target="_blank">configure.ac</a> between GDAL 3.5.0 and 3.4.0
related to rpath. This has probably not changed in years. I do see
in your logs that the linking line of GDAL has a<br>
<br>
-rpath /usr/local/lib <br>
<br>
and that there's a /usr/local/lib/libproj.25.dylib file<br>
<br>
But perhaps the issue is more with the PROJ CMake build
(hypothesis that you could check by testing with a PROJ 8.2.1
autoconf build) ? I don't know... Mac + rpath is hostile territory
for me. <br>
</p>
<p>Does running a GDAL binary, like gdalinfo, works before using
that delocate module ?<br>
</p>
<p>Yes 5413 is CMake specific.</p>
<p>Even<br>
</p>
<div>Le 10/05/2022 à 23:02, Sean Gillies a
écrit :.<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi Even,</div>
<div><br>
</div>
<div>I'm running into a problem with GDAL 3.5.0rc4 and PROJ
9.0.0 on macos. It occurs when I use <a href="https://github.com/matthew-brett/delocate" target="_blank">https://github.com/matthew-brett/delocate</a>
to relocate GDAL and its dependencies into rasterio wheels.<br>
</div>
<div><br>
</div>
<div>The error:</div>
<div><br>
</div>
<div>
<div>
<div><span>
<span>ERROR:delocate.libsana:
</span></span> </div>
</div>
<div>
<div> </div>
</div>
<div>
<div> <span>
<span>@rpath/libproj.25.dylib not found:
</span></span> </div>
</div>
<div>
<div> </div>
</div>
<div>
<div> <span>
<span> Needed by:
/usr/local/lib/libgdal.31.dylib
</span></span> </div>
</div>
<div>
<div> </div>
</div>
<div>
<div> <span>
<span> Search path:</span></span></div>
<div><span><span><br>
</span></span></div>
</div>
<div>
<div> </div>
</div>
<div>
<div> <span>
<span> </span></span> </div>
</div>
<div>
<div> </div>
</div>
<span> <span><a href="mailto:ERROR:delocate.libsana:@rpath/libproj.25.dylib" target="_blank">ERROR:delocate.libsana:@rpath/libproj.25.dylib</a>
not found, requested by /usr/local/lib/libgdal.31.dylib</span></span></div>
<div><span><span><br>
</span></span></div>
<div><span><span>Here is
its context:</span></span> <a href="https://github.com/rasterio/rasterio-wheels/runs/6375882173?check_suite_focus=true#step:4:4025" target="_blank">https://github.com/rasterio/rasterio-wheels/runs/6375882173?check_suite_focus=true#step:4:4025</a>.</div>
<div><br>
</div>
<div>I searched the GDAL tracker for related issues and only
found <a href="https://github.com/OSGeo/gdal/issues/5413" target="_blank">https://github.com/OSGeo/gdal/issues/5413</a>.
It looks like it could be related, but it also looks like the
fix is cmake specific and isn't available for autotools
builds. Is that correct?<br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, May 10, 2022 at 8:13
AM Even Rouault <<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I've issued a rc4 with the following fixes w.r.t rc3:<br>
* fix build error with CMake >= 3.10.2 and < 3.11<br>
* fix build errors with Fedora mingw32<br>
<br>
Updated archives:<br>
<br>
<a href="https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc4.tar.xz" rel="noreferrer" target="_blank">https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc4.tar.xz</a><br>
<a href="https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc4.tar.gz" rel="noreferrer" target="_blank">https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc4.tar.gz</a><br>
<a href="https://download.osgeo.org/gdal/3.5.0/gdal350rc4.zip" rel="noreferrer" target="_blank">https://download.osgeo.org/gdal/3.5.0/gdal350rc4.zip</a><br>
<br>
Even<br>
<br>
Le 06/05/2022 à 15:06, Even Rouault a écrit :<br>
> Hi,<br>
><br>
> I have prepared a GDAL/OGR 3.5.0 release candidate.<br>
><br>
> NEWS at:<br>
><br>
> <a href="https://github.com/OSGeo/gdal/blob/v3.5.0RC1/NEWS.md" rel="noreferrer" target="_blank">https://github.com/OSGeo/gdal/blob/v3.5.0RC1/NEWS.md</a><br>
><br>
> Note the first item about the new CMake build system, and
the <br>
> deprecation of the autoconf & nmake build systems
that will be removed <br>
> in GDAL 3.6.0<br>
><br>
> Pick up an archive among the following ones (by ascending
size):<br>
><br>
> <a href="https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc1.tar.xz" rel="noreferrer" target="_blank">https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc1.tar.xz</a><br>
> <a href="https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc1.tar.gz" rel="noreferrer" target="_blank">https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc1.tar.gz</a><br>
> <a href="https://download.osgeo.org/gdal/3.5.0/gdal350rc1.zip" rel="noreferrer" target="_blank">https://download.osgeo.org/gdal/3.5.0/gdal350rc1.zip</a><br>
><br>
> A snapshot of the gdalautotest suite is also available :<br>
><br>
> <a href="https://download.osgeo.org/gdal/3.5.0/gdalautotest-3.5.0rc1.tar.gz" rel="noreferrer" target="_blank">https://download.osgeo.org/gdal/3.5.0/gdalautotest-3.5.0rc1.tar.gz</a><br>
> <a href="https://download.osgeo.org/gdal/3.5.0/gdalautotest-3.5.0rc1.zip" rel="noreferrer" target="_blank">https://download.osgeo.org/gdal/3.5.0/gdalautotest-3.5.0rc1.zip</a><br>
><br>
> A snapshot of the documentation is at:<br>
><br>
> <a href="https://download.osgeo.org/gdal/3.5.0/gdal350doc.zip" rel="noreferrer" target="_blank">https://download.osgeo.org/gdal/3.5.0/gdal350doc.zip</a><br>
><br>
> The GDAL-GRASS plugin sources and release process has
been moved to <br>
> <a href="https://github.com/OSGeo/gdal-grass" rel="noreferrer" target="_blank">https://github.com/OSGeo/gdal-grass</a><br>
><br>
> I'll call for a vote promoting it to next week if no
serious problems <br>
> are reported before.<br>
><br>
> The "release/3.5" branch has been created for all bug
fixes related to <br>
> 3.5.x. master is now targetting 3.6.0dev.<br>
><br>
> Best regards,<br>
><br>
> Even<br>
><br>
-- <br>
<a href="http://www.spatialys.com" rel="noreferrer" target="_blank">http://www.spatialys.com</a><br>
My software is free, but my time generally not.<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr">Sean Gillies</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
gdal-dev mailing list
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre cols="72">--
<a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr">Sean Gillies</div>