[gdal-dev] Help about GDAL

Eli Adam eadam at co.lincoln.or.us
Sat May 11 09:13:08 PDT 2013


Edison,

I've had similar problems (although for different reasons I think).  The
suggestions at the end of this are similar to what I've done to make it
work for me,
http://lists.osgeo.org/pipermail/gdal-dev/2009-March/020132.html

Sudo ldconfig might help too.

Regards, Eli
On May 10, 2013 8:38 PM, "edison Qian" <edison90110 at gmail.com> wrote:

> Dear List:
>
> i have met an error about GDAL that when a cpp file including GDAL library
> is coded, i compile this cpp file with following command in ubuntu bash:
>
>     $g++ gdal_linux.cpp -I /usr/local/include/ -L /usr/local/lib/ -lgdal
> -o aaa
>
> it succeeds!
> however, when i run file aaa, an error appears:
>
>     error while loading shared libraries: libgdal.so.1: cannot open shared
> object file: No such file or directory
>
> which is similar to the one Wesley got:
> http://lists.osgeo.org/pipermail/gdal-dev/2009-March/020128.html
>
> i wonder whether this problem has been solved or not because i've not seen
> any solutions to it.
> Any help would be greatly appreciated.
>
> Kind regards,
> Edison
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130511/c8c06aba/attachment.html>


More information about the gdal-dev mailing list