<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <p>Thank you Even,</p>
    <p>I will follow your advice and report progress.</p>
    <p>
</p>
    <p>Regards,</p>
    <p>Paulo
</p>
    <div class="moz-cite-prefix">Às 10:28 de 14/05/20, Even Rouault
      escreveu:<br>
    </div>
    <blockquote type="cite" cite="mid:49697506.ts59T1v9K9@even-i700">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <meta name="qrichtext" content="1">
      <style type="text/css">
p, li { white-space: pre-wrap; }
</style>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Paulo,</p>
      <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> I was wondering if you could help with a problem I encountered when</p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> building GDAL with the Open Design Alliance Libraries (ODA >= 2021) on</p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">> Linux.</p>
      <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Linking against ODA libs is always a pain. What I did to get Windows build working is to grep for symbols names in the .lib to find which one where exposing the missing symbols that were reported when linking GDAL. You could probably do the same on the Linux ODA .so, or use objdump -TC on the .so to have the demangled C++ symbols</p>
      <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">When you are doing trial & error, you can directly edit GDALmake.opt to speed up the process (instead of patching configure and re-run it)</p>
      <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">For pcre_study, you need -lpcre. But that should normally already be in the linking line if libpcre is available (libpcre-dev package on Ubuntu)</p>
      <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Even</p>
      <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-- </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Spatialys - Geospatial professional services</p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a></p>
    </blockquote>
    <div class="moz-signature">-- <br>
      <title>Email Signature</title>
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <table style="width: 525px; font-size: 11pt; font-family: Arial,
        sans-serif;" cellspacing="0" cellpadding="0">
        <tbody>
          <tr>
            <td style="text-align:center; font-size: 10pt; font-family:
              Arial, sans-serif; border-right: 1px solid;
              border-right-color: #fb6303; width: 125px; padding-right:
              10px; vertical-align: top;" rowspan="6" width="125"
              valign="top"> <a href="https://www.geomaster.pt"
                target="_blank"><img alt="Logo" style="width:105px;
                  height:auto; border:0;"
src="https://geomaster.pt/wp-content/uploads/2017/02/cropped-geomaster300x300-1.png"
                  width="85" border="0"> </a> </td>
            <td style="padding-left:10px">
              <table cellspacing="0" cellpadding="0">
                <tbody>
                  <tr>
                    <td style="font-size: 10pt; color:#0079ac;
                      font-family: Arial, sans-serif; width: 400px;
                      padding-bottom: 5px; padding-left: 10px;
                      vertical-align: top;" valign="top"> <strong><span
                          style="font-size: 14pt; font-family: Arial,
                          sans-serif; color:#fb6303;">Geomaster</span></strong><br>
                      <strong><span style="font-size: 11pt; font-family:
                          Arial, sans-serif; color:black;">Paulo Dias
                          Almeida</span></strong> <span
                        style="font-family: Arial, sans-serif;
                        font-size:11pt; color:#000000;"><span
                          style="padding-right: 5px; padding-left: 5px;">
                          | </span>Software Engineer</span> </td>
                  </tr>
                  <tr>
                    <td style="font-size: 10pt; color:#444444;
                      font-family: Arial, sans-serif; padding-left:
                      10px; vertical-align: top; line-height:17px;"
                      valign="top">
                      <table style="border-collapse: collapse;">
                        <tbody>
                          <tr>
                            <td> <span style="color: #fb6303;"><strong>e:</strong></span>
                            </td>
                            <td width="120px"> <span style="font-size:
                                10pt; font-family: Arial, sans-serif;
                                color:#000000;"> <a class="moz-txt-link-abbreviated" href="mailto:pda@geomaster.pt">pda@geomaster.pt</a> </span>
                            </td>
                            <td> <span style="font-size: 10pt;
                                font-family: Arial, sans-serif;
                                color:#000000;">|</span> </td>
                            <td> <span style="padding-left:10px; color:
                                #fb6303;"><strong>m:</strong></span> </td>
                            <td> <span style="font-size: 10pt;
                                font-family: Arial, sans-serif;
                                color:#000000;"> +351 968 248 575 </span>
                            </td>
                          </tr>
                          <tr>
                            <td> <span style="color: #fb6303;"><strong>g:</strong></span>
                            </td>
                            <td width="120px"> <span style="font-size:
                                10pt; font-family: Arial, sans-serif;
                                color:#000000;"> 41.54094,-8.40490 </span>
                            </td>
                            <td> <span style="font-size: 10pt;
                                font-family: Arial, sans-serif;
                                color:#000000;">|</span> </td>
                            <td> <span style="padding-left:10px; color:
                                #fb6303;"><strong>v: </strong></span> </td>
                            <td> <span style="font-size: 10pt;
                                font-family: Arial, sans-serif;
                                color:#000000;"> 510 906 109 </span> </td>
                          </tr>
                          <tr>
                            <td> <span style="color: #fb6303;"><strong>a:
                                </strong></span> </td>
                            <td colspan="4"> <span style="font-size:
                                10pt; font-family: Arial, sans-serif;
                                color: #000000;"> Rua António Cândido
                                Pinto N.º 67, 4715-400 Braga </span> </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>