[gdal-dev] Re: can't find libproj.so

Frank Warmerdam warmerdam at p...
Wed Nov 20 10:02:50 EST 2002


nakiya123 wrote:
>>>% ldconfig -p | grep -i proj
>>>libproj.so.0 (libc6) => /home/dmingus/lib/proj4/lib/libproj.so.0
>>>libproj.so (libc6) => /home/dmingus/lib/proj4/lib/libproj.so
>>>libmrproject.so.0 (libc6) => /usr/lib/libmrproject.so.0


> "done" does not get printed. I tried the proj-cvs. Same results. I
> did notice though that my program reports this:

This would seem to indicate that for one reason or another
libproj.so (this should be what LIBNAME maps to) is not found by
dlopen() (which is what CPLGetSymbol() calls).

> % ldd lv
> libproj.so.0 => /home/dmingus/lib/proj4/lib/libproj.so.0 (0x40013000)
> libgdal.so => /home/dmingus/lib/gdal/lib/libgdal.so (0x40042000)
> libGLU.so.1 => /usr/lib/libGLU.so.1 (0x402cb000)
> 
> notice the libproj.so.0. There is a libproj.so link pointing to the
> same place that libproj.so.0 does which is libproj.so.0.3.1. From my
> recolection, it should be linking up with libproj.so instead of
> libproj.so.0 right? So I removed libproj.so.0 to force it, recompiled
> and ldd showed:
> 
> libproj.so.0 => not found
> 
> funny!
> 
> Regardless, this looks like it's on my end so consider this a status
> report instead of a troubleshooting request, unless you know exactly
> what I'm doing wrong.

I would encourage you to review the dlopen() man page and consider
why the libproj.so you have isn't found. You could likely make it
work by soft linking /usr/lib/libproj.so to your copy.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at p...
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent






More information about the Gdal-dev mailing list