Jerl, I would imagine you are building GDAL against modern PROJ.4 include files but linking against an older (4.7.0 or older) PROJ.4 shared library. Likely you have another libproj.so in /usr/lib in addition to the one in /usr/local/lib.
By the way, why are you using --with-static-proj4? If you were to use the dynamic libproj.4 loading (the default) a mismatch between build and runtime would not actually be a problem because the dynamic loader adapts to the version of the shared library it ends up manually loading. Best regards, Frank On Thu, Feb 23, 2012 at 7:44 AM, Jerl Simpson <[email protected]> wrote: > Hey guys, I just grabbed gdal 1.9 from SVN, compiled it and I am getting an > undefined symbol error pj_ctx_alloc in many of the ./apps/ programs. I first > noticed it with gdaldem. Everything is pointing to my build directory. I've > tried all manner of things, not sure what to do next. > gdal1.9NEW/apps/.libs/lt-gdaldem: symbol lookup error: > gdal1.9NEW/.libs/libgdal.so.1: undefined symbol: pj_ctx_alloc > > any ideas? > My configure options > ./configure --prefix=/usr/local --with-python --with-netcdf=/usr/local > --with-static-proj4=/usr/local --with-geos=/usr/local/bin/geos-config > > This issue just started yesterday. I had a slightly older version from the > svn repository, still 1.9 and didn't have this trouble. I'm not sure what > might have changed on the machine to have caused this. > > Maybe there are some conflicting libaries hanging around mucking things up? > > Thanks for the help!! > > Jerl > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, [email protected] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Software Developer _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
