[Ubuntu] gdal 1.9.1 installation

Alassane Toure atourej at gmail.com
Tue May 29 13:51:18 PDT 2012


On 05/29/2012 12:24 PM, Etienne Tourigny wrote:
> you have to link with -lgdal
>
> On Tue, May 29, 2012 at 1:56 PM, Alassane Toure<atourej at gmail.com>  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
>> Ubuntu at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/ubuntu
>> http://trac.osgeo.org/ubuntugis/wiki
>>
Etienne,
Problem solved!  Thanks to all of you for your valuable inputs.

Alassane


More information about the Ubuntu mailing list