***POSSIBLE SPAM*** Re: [Gdal-dev] gdal-1.3.1 installation: gdal-config, gdal_translate, gdalinfo all show different versions

Nagesh Bhatkar bnagesh at nio.org
Wed Mar 8 23:02:49 EST 2006


Hey Franks,
Thanks for sharing that information about 
gdal-config,gdal_translate,gdalinfo.
I used urpme gdal which solved my problem.and if this situation arises 
again
i will try out what you suggested.
Thanking you,


Regards

Nagesh



Frank Warmerdam wrote:

> Nagesh Bhatkar wrote:
>
>> Dear GDAL Users,
>> I installed gdal-1.3.1 on mandriva 2006,
>> now i get the following
>>
>> gdal-config --version
>> 1.3.1
>> which  gdal-config
>> /usr/local/bin/gdal-config
>>
>> gdal_translate --version
>> GDAL 1.2.6.0, released 2005/03/13
>> which gdal_translate
>> /usr/local/bin/gdal_translate
>
> ...
>
>> If i want to remove all existing installations (if any) of the gdal 
>> library,
>> what are the steps i need to follow. So that i can install the new 
>> version
>> fresh.
>
>
> Nagesh,
>
> The difference between gdal-config and gdal_translate or gdalinfo is that
> gdal-config is reporting the version burned into the "mainline" (the
> file /usr/local/bin/gdal-config) while the others are reporting the
> version in the shared library (libgdal.so).  So, presumably what is
> happening is a different shared library is being picked up and used.
> Like /usr/lib/libgdal.so.
>
> You can find out what shared libraries are being used with the ldd
> command.
>
> eg.
> ldd /usr/local/bin/gdalinfo
>
> How to remove all existing installations depends on how they were 
> installed.
> You might want to do "locate libgdal" to find installed versions of the
> library.
>
> Best regards,





More information about the Gdal-dev mailing list