<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Sean,</p>
<p>So your issue is with a GDAL autoconf build. I can't see any
significant changes in configure.ac 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 class="moz-cite-prefix">Le 10/05/2022 à 23:02, Sean Gillies a
écrit :.<br>
</div>
<blockquote type="cite"
cite="mid:CAOodmJprbQX+9RpmMzBzMKmhgZwat77AeUgzGT8PEV8qbNLfwA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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"
moz-do-not-send="true" class="moz-txt-link-freetext">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 class="gmail-js-check-step-line gmail-CheckStep-line
gmail-d-flex gmail-log-line-plain"><span
class="gmail-CheckStep-line-content gmail-d-inline-block
gmail-flex-auto gmail-ml-3 gmail-js-check-line-content">
<span class="gmail-">ERROR:delocate.libsana:
</span></span> </div>
</div>
<div>
<div class="gmail-js-check-step-line gmail-CheckStep-line
gmail-d-flex gmail-log-line-plain"> </div>
</div>
<div>
<div class="gmail-js-check-step-line gmail-CheckStep-line
gmail-d-flex gmail-log-line-plain"> <span
class="gmail-CheckStep-line-content gmail-d-inline-block
gmail-flex-auto gmail-ml-3 gmail-js-check-line-content">
<span class="gmail-">@rpath/libproj.25.dylib not found:
</span></span> </div>
</div>
<div>
<div class="gmail-js-check-step-line gmail-CheckStep-line
gmail-d-flex gmail-log-line-plain"> </div>
</div>
<div>
<div class="gmail-js-check-step-line gmail-CheckStep-line
gmail-d-flex gmail-log-line-plain"> <span
class="gmail-CheckStep-line-content gmail-d-inline-block
gmail-flex-auto gmail-ml-3 gmail-js-check-line-content">
<span class="gmail-"> Needed by:
/usr/local/lib/libgdal.31.dylib
</span></span> </div>
</div>
<div>
<div class="gmail-js-check-step-line gmail-CheckStep-line
gmail-d-flex gmail-log-line-plain"> </div>
</div>
<div>
<div class="gmail-js-check-step-line gmail-CheckStep-line
gmail-d-flex gmail-log-line-plain"> <span
class="gmail-CheckStep-line-content gmail-d-inline-block
gmail-flex-auto gmail-ml-3 gmail-js-check-line-content">
<span class="gmail-"> Search path:</span></span></div>
<div class="gmail-js-check-step-line gmail-CheckStep-line
gmail-d-flex gmail-log-line-plain"><span
class="gmail-CheckStep-line-content gmail-d-inline-block
gmail-flex-auto gmail-ml-3 gmail-js-check-line-content"><span
class="gmail-"><br>
</span></span></div>
</div>
<div>
<div class="gmail-js-check-step-line gmail-CheckStep-line
gmail-d-flex gmail-log-line-plain"> </div>
</div>
<div>
<div class="gmail-js-check-step-line gmail-CheckStep-line
gmail-d-flex gmail-log-line-plain"> <span
class="gmail-CheckStep-line-content gmail-d-inline-block
gmail-flex-auto gmail-ml-3 gmail-js-check-line-content">
<span class="gmail-"> </span></span> </div>
</div>
<div>
<div class="gmail-js-check-step-line gmail-CheckStep-line
gmail-d-flex gmail-log-line-plain"> </div>
</div>
<span class="gmail-CheckStep-line-content gmail-d-inline-block
gmail-flex-auto gmail-ml-3 gmail-js-check-line-content"> <span
class="gmail-"><a class="moz-txt-link-abbreviated" href="mailto:ERROR:delocate.libsana:@rpath/libproj.25.dylib">ERROR:delocate.libsana:@rpath/libproj.25.dylib</a>
not found, requested by /usr/local/lib/libgdal.31.dylib</span></span></div>
<div><span class="gmail-CheckStep-line-content
gmail-d-inline-block gmail-flex-auto gmail-ml-3
gmail-js-check-line-content"><span class="gmail-"><br>
</span></span></div>
<div><span class="gmail-CheckStep-line-content
gmail-d-inline-block gmail-flex-auto gmail-ml-3
gmail-js-check-line-content"><span class="gmail-">Here is
its context:</span></span> <a
href="https://github.com/rasterio/rasterio-wheels/runs/6375882173?check_suite_focus=true#step:4:4025"
moz-do-not-send="true" class="moz-txt-link-freetext">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"
moz-do-not-send="true" class="moz-txt-link-freetext">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"
moz-do-not-send="true" class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">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"
moz-do-not-send="true" class="moz-txt-link-freetext">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr" class="gmail_signature">Sean Gillies</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>