<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <blockquote type="cite"
cite="mid:CADorzfppByWPnVT7gUVa_KNGVFO-GhQGPCKi60g7Ua50oFG6hw@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">How
            can I resolve this error?</div>
        </div>
      </div>
    </blockquote>
    You have stripped too much of the logs. There must be some "error: "
    compilation line before that points to the actual error.<br>
    <blockquote type="cite"
cite="mid:CADorzfppByWPnVT7gUVa_KNGVFO-GhQGPCKi60g7Ua50oFG6hw@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br>
          </div>
          <div
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">Alternatively,
            we have considered a different solution that uses
            ubuntu:22.04 as our base image and then installing GDAL but
            also having problems with installing GDAL (<span
              style="font-size:12pt">I can't seem to get past dependency
              conflicts for v3.8.5 in pipenv so trying </span><span
              style="font-size:12pt">v3.8.3</span><span
              style="font-size:12pt">), getting an error:</span></div>
          <div
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br>
          </div>
          <blockquote
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"
            class="gmail_quote">Collecting gdal==3.8.3 (from -r
            /tmp/pipenv-gde160cj-requirements/pipenv-ndnw2zi0-hashed-reqs.txt
            (line 62))<br>
              Downloading GDAL-3.8.3.tar.gz (802 kB)<br>
                 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 802.5/802.5 kB
            104.5 MB/s eta 0:00:00<br>
              Preparing metadata (setup.py): started<br>
              Preparing metadata (setup.py): finished with status
            'error'<br>
            error: subprocess-exited-with-error<br>
             <br>
              × python setup.py egg_info did not run successfully.<br>
            <span
style="font-family:Arial,Helvetica,sans-serif;font-size:small;color:rgb(34,34,34)"> 
              │ exit code: 1</span></blockquote>
          <div> </div>
          <blockquote
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"
            class="gmail_quote">Exception: Python bindings of GDAL 3.8.3
            require at least libgdal 3.8.3, but 3.4.1 was found</blockquote>
          <div> </div>
          <div
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">How
            can we upgrade libgdal (in our Dockerfile)?</div>
        </div>
      </div>
    </blockquote>
    <p>- Use another Docker image, like alpine-normal or ubuntu-small,
      that doesn't have the Java dependency</p>
    <p>- Use Conda to install GDAL</p>
    <p>- Use plain ubuntu:24.04 that ships with GDAL 3.8.4 as a proper
      .deb package (<a class="moz-txt-link-freetext" href="https://launchpad.net/ubuntu/noble/+source/gdal">https://launchpad.net/ubuntu/noble/+source/gdal</a>)</p>
    <p>- ...</p>
    <br>
    <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>