no joy: Bill Kropla's "Beginning Mapserver"

Frank Warmerdam warmerdam at POBOX.COM
Wed Mar 29 00:12:11 EST 2006


KevinC (UD) wrote:
> Luis, Bill sez in his book "The shapelib build isn't configuration 
> based".  When I try your suggestion I get:
>  
> 
> # ./configure --with-proj=/usr/local/lib
> 
>     ./configure: No such file or directory
> 
>  
> 
> This is not unexpected.
> 
>  
> 
> ***********************************************************************************
> 
> Frank Warmerdam, I made the changes as prescribed to 
> shapelib-1.2.10/contrib/Makefile
> 
> but no success.
> 
>  
> 
> Bill Kropla instructs me to switch to tests/ , but I think he means 
> contrib/ , then
> 
>  
> 
> [root at ud5 contrib]# make check
> 
> tests/shpproj.sh
> 
> rm: cannot remove `test*': No such file or directory
> 
> ../shpproj: error while loading shared libraries: libproj.so.0: cannot 
> open shared object file: No such file or directory
> 
> ../shpproj: error while loading shared libraries: libproj.so.0: cannot 
> open shared object file: No such file or directory
> 
> ../shpproj: error while loading shared libraries: libproj.so.0: cannot 
> open shared object file: No such file or directory
> 
> failure...
> 
>  
> 
> So again ,the build cannot find Proj4 libraries.

Kevin,

With respect in this case the executable is not finding libproj.so
at *runtime*, not build time.  A completely different animal.  You
likely need to set the LD_LIBRARY_PATH environment variable to point
to (or include) /usr/local/lib, or fiddle with /etc/ld.conf to include
that directory and then re-run ldconfig.

Please disregard any impoliteness or bad spelling in the above.  I'm
most of the way through a bottle of my mother-in-laws homemade wine.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org



More information about the mapserver-users mailing list