<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi All, and Happy Thanksgiving!</p>
    <p>This is probably a silly question but here is the situation I am
      in with OGR.</p>
    <ol>
      <li>I had to reinstall a QEMU virtual machine with <b>CodeServer</b>
        installed. The OS is Alma Linux 9.5.</li>
      <li>My main coding environment is <b>R</b> and I am performing a
        lot of geospatial operations on a <b>Postgis</b> database.</li>
      <li>So, I installed GDAL because it is needed by the <b>sf</b>
        plugin of R -- a toolbox for geospatial operations in R.</li>
      <li>I also need OGR to <b>import GPX files into the Postgis
          database</b>. I execute something like:<br>
        `ogr2ogr -skipfailures -append -update -f 'PostgreSQL' -t_srs
        'EPSG:4326' 'PG: host=<internal_host> port=5432
        dbname=<dbname> user=<username>
        password=<pwd>' -nln `</li>
      <li>BUT since I reinstalled GDAL, when executing the GPX importg
        procedure, I get this error:</li>
    </ol>
    <p>```log</p>
    <p>ERROR 6: OGR/GPX driver has not been built with read support.
      Expat library required<br>
      FAILURE:<br>
      Unable to open datasource `/mnt/gps/20241127-C.gpx' with the
      following drivers.<br>
    </p>
    <p>```</p>
    <p>I have reinstalled the `expat` library but it did not help.</p>
    <p>What have I done wrong?</p>
    <p>Thank you for your help,</p>
    <p>Stephen<br>
    </p>
  </body>
</html>