you have to link with -lgdal
On Tue, May 29, 2012 at 1:56 PM, Alassane Toure <[email protected]> wrote: > On 05/29/2012 06:17 AM, Nick Ves wrote: > > apt-cache show libgdal-dev > > Nick, > We are making little progress. I issued "sudo apt-get install libgdal1 > libgdal-dev" and checked the version installed which was "version 1.9.0". > However, no 1.9.0 library version was available in "/usr/lib" directory. As > a result, when compiling a program, the system response was "/usr/bin/ld: > cannot find -lgdal1.9.0". The command used for compilation was "gcc -o test > mygdalprogram.cpp -I /usr/include/gdal -lgdal1.9.0". > > Any more thoughts? > > Again thanks, > > Alassane > > _______________________________________________ > UbuntuGIS mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/ubuntu > http://trac.osgeo.org/ubuntugis/wiki > _______________________________________________ UbuntuGIS mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/ubuntu http://trac.osgeo.org/ubuntugis/wiki
