<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,</p>
    <p><br>
    </p>
    <p>Did you install "libgdal-dev" ?</p>
    <p>And if so and the problem persists, it is very likely related to
      this:</p>
    <p><a class="moz-txt-link-freetext" href="https://github.com/mapproxy/mapproxy/issues/600">https://github.com/mapproxy/mapproxy/issues/600</a></p>
    <p><br>
    </p>
    <p>This has been fixed in the current master, but there is no relase
      yet which includes the fix.</p>
    <p>If i remember correctly, this issue only exists on ubuntu 22.<br>
    </p>
    <p><br>
    </p>
    <p>Greetings,</p>
    <p>Johannes</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Am 28.02.23 um 13:38 schrieb Anika
      Graupner:<br>
    </div>
    <blockquote type="cite"
cite="mid:OF4E2B7D4B.3BD69B84-ONC125895F.005647FD-C1258964.00456CAF@KRZN.DE">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <span style=" font-size:10pt;font-family:sans-serif">Hello,</span>
      <br>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif">we have
        installed
        Mapproxy on Ubuntu 22.04.2 LTS in our company, version 1.13.0.</span>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif">We provide a
        simple
        wms with one raster layer.</span>
      <br>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif">We also
        create
        a seed configuration for this service which looks like this:</span>
      <br>
      <br>
      <span style=" font-size:9pt;font-family:sans-serif"><i>seeds:</i></span>
      <br>
      <span style=" font-size:9pt;font-family:sans-serif"><i> 
          fullseed_bp_raster:</i></span>
      <br>
      <span style=" font-size:9pt;font-family:sans-serif"><i>   
          caches: [BPRaster_cache]</i></span>
      <br>
      <span style=" font-size:9pt;font-family:sans-serif"><i>   
          coverages: [bp_raster]</i></span>
      <br>
      <br>
      <span style=" font-size:9pt;font-family:sans-serif"><i> 
          reseed_bp_raster:</i></span>
      <br>
      <span style=" font-size:9pt;font-family:sans-serif"><i>   
          caches: [BPRaster_cache]</i></span>
      <br>
      <span style=" font-size:9pt;font-family:sans-serif"><i>   
          coverages: [changes_bp_raster]</i></span>
      <br>
      <br>
      <span style=" font-size:9pt;font-family:sans-serif"><i>coverages:</i></span>
      <br>
      <span style=" font-size:9pt;font-family:sans-serif"><i> 
          bp_raster:</i></span>
      <br>
      <span style=" font-size:9pt;font-family:sans-serif"><i>   
          bbox: [220000,5100000,300000,500000]</i></span>
      <br>
      <span style=" font-size:9pt;font-family:sans-serif"><i>   
          srs: "EPSG:25832"</i></span>
      <br>
      <span style=" font-size:9pt;font-family:sans-serif"><i> 
          changes_bp_raster:</i></span>
      <br>
      <span style=" font-size:9pt;font-family:sans-serif"><i>   #example
          with PostGIS query</i></span>
      <br>
      <span style=" font-size:9pt;font-family:sans-serif"><i>   
          datasource: "PG: dbname='XXX' host='XXX' port='XXX' user='XXX'
          password='XXX'"</i></span>
      <br>
      <span style=" font-size:9pt;font-family:sans-serif"><i>   
          where: "select * from xplanmgr.plans where xp_type = 'BP_Plan'
          and
          planstatus = 'Festgestellt' and import_date > current_date
          - interval
          '100 days'"</i></span>
      <br>
      <span style=" font-size:9pt;font-family:sans-serif"><i>   
          srs: 'EPSG:25832'</i></span>
      <br>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif">The seeding
        task
        <i>"fullseed_bp_raster"</i> could be executed successfully.</span>
      <br>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif">The second
        seeding
        task <i>"reseed_bp_raster"</i> should only seed areas where
        there
        have been changes in the database.</span>
      <br>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif">But when we
        try
        to start the seeding task <i>"changes_bp_raster"</i> with this
        command</span>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif"><i>"mapproxy-seed
          -f service.yaml -s seed_service.yaml --seed reseed_bp_raster"
        </i></span>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif">we get the
        following
        error:</span>
      <br>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif"><i>[...]</i></span>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif"><i>File
          "/usr/lib/python3.10/ctypes/util.py",
          line 99, in _is_elf</i></span>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif"><i>   
          with open(filename, 'br') as thefile:</i></span>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif"><i>FileNotFoundError:
          [Errno 2] No such file or directory: b'liblibgdal.a'</i></span>
      <br>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif">We installed
        shapely
        and geos as described on the following page: </span><a
        href="https://mapproxy.org/docs/1.13.0/coverages.html#requirements"
        moz-do-not-send="true"><span style="
          font-size:10pt;color:blue;font-family:sans-serif"><i>https://mapproxy.org/docs/1.13.0/coverages.html#requirements</i></span></a>
      <br>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif">Furthermore
        we
        also installed the following versions:</span>
      <br>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif"><i>Python
          3.10.6</i></span>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif"><i>GDAL
          3.4.1,
          released 2021/12/27</i></span>
      <br>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif">Does anyone
        have
        an idea how to solve this or has anyone had this problem before?</span>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif">It could also
        be that the configuration is not quite right yet, but I suspect
        the problem
        comes more from the libraries.</span>
      <br>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif">Thanks in
        advance!</span>
      <br>
      <span style=" font-size:10pt;font-family:sans-serif">Anika
        Graupner</span>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
MapProxy mailing list
<a class="moz-txt-link-abbreviated" href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/mapproxy">https://lists.osgeo.org/mailman/listinfo/mapproxy</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Dipl.-Geogr. Johannes Weskamm
  — Anwendungsentwickler —

  terrestris GmbH & Co. KG
  Kölnstraße 99
  53111 Bonn

  Tel: +49 (0)228 / 96 28 99 -51
  Fax: +49 (0)228 / 96 28 99 -57

  Email: <a class="moz-txt-link-abbreviated" href="mailto:weskamm@terrestris.de">weskamm@terrestris.de</a>
  Web: <a class="moz-txt-link-freetext" href="https://www.terrestris.de">https://www.terrestris.de</a>

  Amtsgericht Bonn, HRA 6835
  Komplementärin: terrestris Verwaltungsgesellschaft mbH
  vertreten durch: Torsten Brassat, Marc Jansen
  
  Informationen über Ihre gespeicherten Daten finden Sie auf
  unserer Homepage unter folgendem Link: 
  <a class="moz-txt-link-freetext" href="https://www.terrestris.de/datenschutzerklaerung/">https://www.terrestris.de/datenschutzerklaerung/</a></pre>
  </body>
</html>