<div dir="ltr"><div>Thank you. Even! I'll check my GDAL...</div><div><br></div><div>Tom<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 12, 2021 at 1:03 PM Even Rouault <<a href="mailto:even.rouault@spatialys.com">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">
  
    
  
  <div>
    <p>It might be possible that your GDAL build is linking against
      libgeotiff and/or libspatialite built against libproj.so.15<br>
    </p>
    <div>Le 12/08/2021 à 19:00, Thomas Adams a
      écrit :<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div>Hi Māris,</div>
        <div><br>
        </div>
        <div>Thank you. I did earlier find that I did have two proj
          libraries, so I removed libproj.so.15. I also ran sudo
          ldconfig. I also tried removing from my config anything that I
          had not explicitly compiled from source against proj that I
          compiled, giving:</div>
        <div><br>
        </div>
        <div>CFLAGS="-O2 -Wall" LDFLAGS="-s" ./configure \<br>
          --enable-64bit \<br>
          --with-cxx \<br>
          --enable-largefile=yes \<br>
          --with-nls \<br>
          --with-readline \<br>
          --with-pthread \<br>
          --with-gdal=/usr/local/bin/gdal-config \<br>
          --with-proj --with-proj-share=/usr/local/share/proj \<br>
          --with-proj-includes=/usr/local/include \<br>
          --with-proj-libs=/usr/local/lib \<br>
          --with-geos=/usr/local/bin/geos-config \<br>
          --with-wxwidgets=/usr/local/bin/wx-config \<br>
          --with-cairo \<br>
          --with-opengl-libs=/usr/include/GL \<br>
          --with-freetype=yes \<br>
          --with-freetype-includes=/usr/include/freetype2/ \<br>
          --with-postgres=yes \<br>
          --with-postgres-includes=/usr/local/include \<br>
          --with-sqlite=yes \<br>
          --with-mysql=yes \<br>
          --with-mysql-includes=/usr/include/mysql \<br>
          --with-odbc=no \<br>
          --with-netcdf=/usr/local/bin/nc-config \<br>
          --with-zstd \<br>
          --with-zstd-includes=/usr/local/include \<br>
          --with-zstd-libs=/usr/local/lib<br>
        </div>
        <div><br>
        </div>
        <div>Still I get the errors and when I run ldd, I get...<br>
        </div>
        <div><br>
        </div>
        <div><a href="mailto:teaiii@tea-Leopard-WS:~/grass-7.8.5$" target="_blank">teaiii@tea-Leopard-WS:~/grass-7.8.5$</a> ldd
          /home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/lib/libgrass_gproj.so
          | grep proj<br>
          libproj.so.19 => /usr/local/lib/libproj.so.19
          (0x00007fb0030a1000)<br>
          libproj.so.15 => not found<br>
          libproj.so.15 => not found<br>
          libproj.so.15 => not found<br>
        </div>
        <div><br>
        </div>
        <div>It's a mystery where libproj.so.15 references are coming
          from. I have never had this kind of problem before.</div>
        <div><br>
        </div>
        <div>Tom<br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Thu, Aug 12, 2021 at 12:39
          PM Maris Nartiss <<a href="mailto:maris.gis@gmail.com" target="_blank">maris.gis@gmail.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">Hello
          Thomas,<br>
          I gave you a wrong path. Try this one:<br>
          ldd
          /home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/lib/libgrass_gproj.so<br>
          <br>
          The problem still boils down to having different incompatible
          system<br>
          libraries during compilation and runtime. You can also search
          for<br>
          libproj.so files in /usr/lib(64) or just dpkg -l | grep proj
          and if<br>
          you see multiple proj versions, remove one.<br>
          <br>
          Māris.<br>
          <br>
          2021-08-12 13:11 GMT+03:00, Thomas Adams <<a href="mailto:tea3rd@gmail.com" target="_blank">tea3rd@gmail.com</a>>:<br>
          > Hi Māris,<br>
          ><br>
          > When I run the command ldd
          /home/teaiii/grass-7.8.5/lib/libgrass_gproj.so |<br>
          > grep proj , I get:<br>
          ><br>
          > ldd: /home/teaiii/grass-7.8.5/lib/libgrass_gproj.so: No
          such file or<br>
          > directory<br>
          ><br>
          > There is no libgrass_gproj.so file in
          /home/teaiii/grass-7.8.5/lib/l in<br>
          > fact just subdirectories along with Makefile and README<br>
          ><br>
          > Tom<br>
          ><br>
        </blockquote>
      </div>
      <br clear="all">
      <br>
      -- <br>
      <div dir="ltr">
        <div dir="ltr">
          <div>
            <div dir="ltr">
              <div dir="ltr">Thomas E Adams, III
                <div>207 Chowning Place</div>
                <div>Blacksburg, VA 24060</div>
                <div><a href="mailto:tea3rd@gmail.com" target="_blank">tea3rd@gmail.com</a>
                  (personal)</div>
                <div><a href="mailto:tea@terrapredictions.org" target="_blank">tea@terrapredictions.org</a>
                  (work)<br>
                </div>
                <div><br>
                </div>
                <div>1 (513) 739-9512 (cell)</div>
                <div><br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
grass-dev mailing list
<a href="mailto:grass-dev@lists.osgeo.org" target="_blank">grass-dev@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-dev</a>
</pre>
    </blockquote>
    <pre cols="72">-- 
<a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </div>

</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Thomas E Adams, III<div>207 Chowning Place</div><div>Blacksburg, VA 24060</div><div><a href="mailto:tea3rd@gmail.com" target="_blank">tea3rd@gmail.com</a> (personal)</div><div><a href="mailto:tea@terrapredictions.org" target="_blank">tea@terrapredictions.org</a> (work)<br></div><div><br></div><div>1 (513) 739-9512 (cell)</div><div><br></div></div></div></div></div></div>