Hi Frank:<div><br></div><div>Thank you for the info.  Someone in the IRC channel suggested it might be a PROJ.4 issues as well.  I updated PROJ.4 but didn&#39;t look for older libraries.</div><div>Once this compile finishes, I&#39;ll take a look.</div>
<div><br></div><div>OH I bet the --with-static-proj4 is the issue.  It works find in build directory with only the default options.</div><div><br></div><div>Thanks!!</div><div><br></div><div>Jerl<br><br><div class="gmail_quote">
On Thu, Feb 23, 2012 at 12:13 PM, Frank Warmerdam <span dir="ltr">&lt;<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Jerl,<br>
<br>
I would imagine you are building GDAL against modern PROJ.4<br>
include files but linking against an older (4.7.0 or older) PROJ.4<br>
shared library.  Likely you have another libproj.so in /usr/lib in<br>
addition to the one in /usr/local/lib.<br>
<br>
By the way, why are you using --with-static-proj4?<br>
If you were to use the dynamic libproj.4 loading (the default) a<br>
mismatch between build and runtime would not actually be a problem<br>
because the dynamic loader adapts to the version of the shared<br>
library it ends up manually loading.<br>
<br>
Best regards,<br>
Frank<br>
<div><div class="h5"><br>
On Thu, Feb 23, 2012 at 7:44 AM, Jerl Simpson &lt;<a href="mailto:jsimpson@wxtrends.com">jsimpson@wxtrends.com</a>&gt; wrote:<br>
&gt; Hey guys, I just grabbed gdal 1.9 from SVN, compiled it and I am getting an<br>
&gt; undefined symbol error pj_ctx_alloc in many of the ./apps/ programs. I first<br>
&gt; noticed it with gdaldem. Everything is pointing to my build directory. I&#39;ve<br>
&gt; tried all manner of things, not sure what to do next.<br>
&gt; gdal1.9NEW/apps/.libs/lt-gdaldem: symbol lookup error:<br>
&gt; gdal1.9NEW/.libs/libgdal.so.1: undefined symbol: pj_ctx_alloc<br>
&gt;<br>
&gt; any ideas?<br>
&gt; My configure options<br>
&gt; ./configure --prefix=/usr/local --with-python  --with-netcdf=/usr/local<br>
&gt; --with-static-proj4=/usr/local --with-geos=/usr/local/bin/geos-config<br>
&gt;<br>
&gt; This issue just started yesterday.  I had a slightly older version from the<br>
&gt; svn repository, still 1.9 and didn&#39;t have this trouble.  I&#39;m not sure what<br>
&gt; might have changed on the machine to have caused this.<br>
&gt;<br>
&gt; Maybe there are some conflicting libaries hanging around mucking things up?<br>
&gt;<br>
&gt; Thanks for the help!!<br>
&gt;<br>
&gt; Jerl<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; gdal-dev mailing list<br>
&gt; <a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up   | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/~warmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush    | Geospatial Software Developer<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>This communication is privileged and may contain confidential information.  It&#39;s intended only for the use of the person or entity named above. If you are not the intended recipient, do not distribute or copy this communication. If you have received this communication in error, please notify the sender immediately and return the original to the email address above. © Copyright 2011 Weather Trends International, Inc.<br>

</div>