[Gdal-dev] libgdal.so: open failed: No such file or directory

Mateusz Loskot mateusz at loskot.net
Mon Apr 23 12:55:33 EDT 2007


Gregory Yetman wrote:
> Mateusz Loskot wrote:
>> 
>> Gregory,
>> 
>> I've never worked on SunOS with GDAL, but if you have the 'ldd'
>> tool, please run:
>> 
>> ldd /absolute/path/to/gdalinfo
>> 
>> and paste the output here.
> 
> Interesting, looks like it can't find libgdal.so:
> 
> ldd /space/greg/sfw/gdal/gdal/bin/gdalinfo libgdal.so =>    (file not
> found)

Yes, that's what I supposed

> it exists in:
> 
> /space/greg/sfw/gdal/gdal/lib
> 
> I don't know why this would be the case....

Could you also check this:

echo $LD_LIBRARY_PATH

?

Perhaps my lack of knowledge of SunOS points to wrong direction,
and the LD_LIBRARY_PATH works differently under SunOS than under Linux,
but I'm inclined to say there the path with libgdal.so is not accessible
for the loader.

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list