[gdal-dev] Help about GDAL

edison Qian edison90110 at gmail.com
Fri May 10 20:38:00 PDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130511/a557858a/attachment.html>


More information about the gdal-dev mailing list