<div dir="ltr">Hi,<div><br></div><div>I'm trying to figure out what might be going on with setting things up for proj with GDAL.  If I set --with-proj=/directory/to/where/proj/is/installed, I end up with PROJ_STATIC set to true, even though I have no static proj library built (I only have libproj.so, no libproj.a in the install directory).  Looking at <a href="http://configure.ac">configure.ac</a>, I'm not seeing anything that would explicitly check for a static library at all, just a bunch of checks for a proj library of various incarnations in various directories relative to the one I set in --with-proj.</div><div><br></div><div>At the conclusion of configuration, GDALmake.opt sets LIBS includes the proper information to link:</div><div><br></div><div>LIBS = ... -L/directory/to/where/proj/is/installed/lib -lproj ...</div><div><br></div><div>But no rpath is entered to support locating the proj library when linking another project with GDAL, which means that I get errors at link time asking for me to add --rpath-link to my link line.</div><div><br></div><div>What, exactly, is --with-proj supposed to do and how does it interact with static linking of proj, assuming I have libproj.a somewhere?</div><div><br></div><div>Thanks,<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div></div></div>