[Ubuntu] gdal 1.9.1 installation

Alassane Toure atourej at gmail.com
Mon May 28 21:40:58 PDT 2012


On 05/27/2012 10:56 AM, Chaitanya kumar CH wrote:
> Alassane,
>
> The only suggestion I can make without going  too deep is to run "make 
> clean" before running "make" again.
>
> On Fri, May 25, 2012 at 9:17 PM, Alassane Toure <atourej at gmail.com 
> <mailto:atourej at gmail.com>> wrote:
>
>     On 05/25/2012 02:56 AM, Chaitanya kumar CH wrote:
>>     Alassane,
>>
>>     libtool may have some problem.
>>     Replace "./configure" with "./configure --without-libtool"
>>     Make sure you have the format drivers you need listed in the
>>     configure script's output.
>>
>>     On Fri, May 25, 2012 at 8:48 AM, Alassane Toure
>>     <atourej at gmail.com <mailto:atourej at gmail.com>> wrote:
>>
>>         Roland,
>>         I followed the steps as suggested by the link and a couple of
>>         errors came up after issuing "make"
>>
>>         ....
>>         ....
>>                -rpath /usr/local/lib \
>>                -no-undefined \
>>                -version-info 17:1:16
>>         libtool: link: unable to infer tagged configuration
>>         libtool: link: specify a tag with `--tag'
>>         make[1]: *** [libgdal.la <http://libgdal.la>] Error 1
>>         make[1]: Leaving directory `/home/alassane/Downloads/gdal-1.9.1'
>>         make: *** [check-lib] Error 2
>>
>>
>>
>>         Any suggestion to fix this?
>>
>>         Again thanks,
>>
>>         Alassane
>>
>>
>>
>>         On 05/24/2012 02:21 PM, Roland van Laar wrote:
>>
>>             On 05/24/2012 09:16 PM, Alassane Toure wrote:
>>
>>                 Group,
>>                 I need help to install GDAL 1.9.1 on Ubuntu 12.04.  I
>>                 first downloaded gdal-1.9.1.tar.gz, uncompressed it
>>                 and executed  ./configure.  Where do I go from here?
>>
>>
>>             Have you read: http://trac.osgeo.org/gdal/wiki/BuildingOnUnix
>>             It contains the information needed for building GDAL.
>>
>>             Roland
>>
>>
>>                 Thanks for your help
>>                 _______________________________________________
>>                 UbuntuGIS mailing list
>>                 Ubuntu at lists.osgeo.org <mailto:Ubuntu at lists.osgeo.org>
>>                 http://lists.osgeo.org/mailman/listinfo/ubuntu
>>                 http://trac.osgeo.org/ubuntugis/wiki
>>
>>
>>
>>         _______________________________________________
>>         UbuntuGIS mailing list
>>         Ubuntu at lists.osgeo.org <mailto:Ubuntu at lists.osgeo.org>
>>         http://lists.osgeo.org/mailman/listinfo/ubuntu
>>         http://trac.osgeo.org/ubuntugis/wiki
>>
>>
>>
>>
>>     -- 
>>     Best regards,
>>     Chaitanya kumar CH.
>>
>>     +91-9494447584 <tel:%2B91-9494447584>
>>     17.2416N 80.1426E
>
>     Thanks Chaitanya,
>     I used your suggested command and again, a couple of errors are
>     reported after "make" was issued (see below).  FYI, I had
>     installed gdal-1.8.0 on a 32-bit Oneric OS without problem.  I
>     recently moved to 64-bit Precise OS and installation of gdal-1.9.1
>     appear non-trivial.  Any suggestion to fix this?  Again, Thanks,
>
>     ...
>     ...
>     /usr/bin/ld:
>     /home/alassane/Downloads/gdal-1.9.1/frmts/o/aigccitt.o: relocation
>     R_X86_64_32S against `.rodata' can not be used when making a
>     shared object; recompile with -fPIC
>     /home/alassane/Downloads/gdal-1.9.1/frmts/o/aigccitt.o: could not
>     read symbols: Bad value
>     collect2: ld returned 1 exit status
>     make[1]: *** [/home/alassane/Downloads/gdal-1.9.1/libgdal.so] Error 1
>
>     make[1]: Leaving directory `/home/alassane/Downloads/gdal-1.9.1'
>     make: *** [check-lib] Error 2
>
>
>
>
>
> -- 
> Best regards,
> Chaitanya kumar CH.
>
> +91-9494447584
> 17.2416N 80.1426E
Chaitanya,
I followed your instructions ["make clean" and "make"] and the process 
went without any error reported.  However, when I check the gdal version 
"gdal-config --version" only version 1.7.0 is installed and all 
libraries in "/usr/lib refer to version 1.7.0.  Thus, compilation with 
1.7.0 works but not with 1.9.1.  Any other thoughts?
Thank you very much!

Alassane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/ubuntu/attachments/20120528/0efc8d34/attachment.html>


More information about the Ubuntu mailing list