<div dir="ltr"><div>It appears no "uninstall" script was provided!<br><br>Any thoughts to go around this?<br><br></div>THanks,<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 4, 2014 at 9:57 AM, alassane toure <span dir="ltr"><<a href="mailto:atourej@gmail.com" target="_blank">atourej@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Johan,<br></div>uninstall command is not working....<br><br>alassane@Achile:~/Downloads/gdal-1.11.1$ sudo make uninstall<br>make: *** No rule to make target `uninstall'.  Stop.<br><br></div>Any thoughts?<br><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 4, 2014 at 9:46 AM, Johan Van de Wauw <span dir="ltr"><<a href="mailto:johan.vandewauw@gmail.com" target="_blank">johan.vandewauw@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It looks like you messed up with your two versions of gdal: using a<br>
different version of gdal than the one you linked to .<br>
<br>
Better uninstall your self installed version [ sudo make uninstall ].<br>
Than compile again.<br>
<span><font color="#888888"><br>
Johan<br>
</font></span><div><div><br>
On Tue, Nov 4, 2014 at 5:43 PM, alassane toure <<a href="mailto:atourej@gmail.com" target="_blank">atourej@gmail.com</a>> wrote:<br>
> Group,<br>
> Any thoughts on how to fix the following error (no version information<br>
> available) resulting from running a gdal executable?<br>
><br>
> ./mosaic_test /home/alassane/Data/IPDSData/testAOI.tif<br>
> /home/alassane/Data/IPDSData/testbg.tif<br>
> /home/alassane/Data/IPDSData/testmask.tif<br>
> /home/alassane/Data/IPDSData/colorcode.tif<br>
> /home/alassane/Data/IPDSData/eqbt.tif /home/alassane/Data/IPDSData/stdbt.tif<br>
> /home/alassane/Data/IPDSData/eqbt.dat /home/alassane/Data/IPDSData/stdbt.dat<br>
> ./mosaic_test: /usr/local/lib/libgdal.so.1: no version information available<br>
> (required by ./mosaic_test)<br>
><br>
> Thanks,<br>
> Alassane<br>
><br>
> On Mon, Nov 3, 2014 at 5:17 PM, alassane toure <<a href="mailto:atourej@gmail.com" target="_blank">atourej@gmail.com</a>> wrote:<br>
>><br>
>> Hi Johan<br>
>> I had a program working ok with the previous gdal version but i am it is<br>
>> displaying the following errors...<br>
>><br>
>> ./mosaic_test /home/alassane/Data/IPDSData/testAOI.tif<br>
>> /home/alassane/Data/IPDSData/testbg.tif<br>
>> /home/alassane/Data/IPDSData/testmask.tif<br>
>> /home/alassane/Data/IPDSData/colorcode.tif<br>
>> /home/alassane/Data/IPDSData/eqbt.tif /home/alassane/Data/IPDSData/stdbt.tif<br>
>> /home/alassane/Data/IPDSData/eqbt.dat /home/alassane/Data/IPDSData/stdbt.dat<br>
>> ./mosaic_test: /usr/local/lib/libgdal.so.1: no version information<br>
>> available (required by ./mosaic_test)<br>
>><br>
>> Same error when compiled under the new gdal version!  Any thoughts?<br>
>><br>
>> Thanks,<br>
>><br>
>><br>
>> On Mon, Nov 3, 2014 at 2:22 PM, alassane toure <<a href="mailto:atourej@gmail.com" target="_blank">atourej@gmail.com</a>> wrote:<br>
>>><br>
>>> No error as a result!!!  Thank you very much!<br>
>>><br>
>>> On Mon, Nov 3, 2014 at 2:15 PM, Johan Van de Wauw<br>
>>> <<a href="mailto:johan.vandewauw@gmail.com" target="_blank">johan.vandewauw@gmail.com</a>> wrote:<br>
>>>><br>
>>>> On Mon, Nov 3, 2014 at 10:00 PM, alassane toure <<a href="mailto:atourej@gmail.com" target="_blank">atourej@gmail.com</a>><br>
>>>> wrote:<br>
>>>> > Please find attached the code and associated error after<br>
>>>> > compilation...<br>
>>>> ><br>
>>>> > gcc -o test imagescale.cpp -I /usr/include/gdal -lgdal<br>
>>>> > /usr/bin/ld: /tmp/ccrySeCX.o: undefined reference to symbol<br>
>>>> > 'floor@@GLIBC_2.2.5'<br>
>>>> > //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing<br>
>>>> > from<br>
>>>> > command line<br>
>>>> > collect2: error: ld returned 1 exit status<br>
>>>><br>
>>>> You are missing libmath, add -lm (previous versions of gcc had this<br>
>>>> automatically):<br>
>>>> gcc -o test imagescale.cpp -I /usr/include/gdal -lgdal -lm<br>
>>>><br>
>>>> ><br>
>>>> ><br>
>>>> > On Mon, Nov 3, 2014 at 1:41 PM, Johan Van de Wauw<br>
>>>> > <<a href="mailto:johan.vandewauw@gmail.com" target="_blank">johan.vandewauw@gmail.com</a>> wrote:<br>
>>>> >><br>
>>>> >> Please include the error. And possibly also the file if it is no<br>
>>>> >> secret, will help you get a much better answer.<br>
>>>> >><br>
>>>> >> Johan<br>
>>>> >><br>
>>>> >> BTW: keep the ubuntugis list in cc, other people may benefit from<br>
>>>> >> reading how we solved your problem.<br>
>>>> >><br>
>>>> >> On Mon, Nov 3, 2014 at 9:39 PM, alassane toure <<a href="mailto:atourej@gmail.com" target="_blank">atourej@gmail.com</a>><br>
>>>> >> wrote:<br>
>>>> >> > Hi Johan,<br>
>>>> >> > I am not a sophisticated user of gdal.  I am looking for the<br>
>>>> >> > easiest way<br>
>>>> >> > to<br>
>>>> >> > have the compiler running.  As such, I followed your instruction by<br>
>>>> >> > running<br>
>>>> >> > the version included in ubuntu "sudo apt-get install libgdal-dev"<br>
>>>> >> > but<br>
>>>> >> > the<br>
>>>> >> > compilation of the program test.cpp did not work.  This issue<br>
>>>> >> > started<br>
>>>> >> > when i<br>
>>>> >> > install the latest ubuntu version.<br>
>>>> >> ><br>
>>>> >> > Again, thanks for your insight!<br>
>>>> >> ><br>
>>>> >> > On Mon, Nov 3, 2014 at 1:26 PM, Johan Van de Wauw<br>
>>>> >> > <<a href="mailto:johan.vandewauw@gmail.com" target="_blank">johan.vandewauw@gmail.com</a>> wrote:<br>
>>>> >> >><br>
>>>> >> >> Hello Alassane,<br>
>>>> >> >><br>
>>>> >> >> First of all, you should tell us what you actually want to<br>
>>>> >> >> achieve.<br>
>>>> >> >> You may be better of using the gdal libraries which are already<br>
>>>> >> >> part<br>
>>>> >> >> of ubuntu rather than compiling your own version.<br>
>>>> >> >><br>
>>>> >> >> If you want to use the version of gdal included in ubuntu install<br>
>>>> >> >> the<br>
>>>> >> >> package libgdal-dev . You can do so using your favorite package<br>
>>>> >> >> manager or using the command prompt: sudo apt-get install<br>
>>>> >> >> libgdal-dev<br>
>>>> >> >><br>
>>>> >> >> If you do that your command will probably work without extra<br>
>>>> >> >> effort.<br>
>>>> >> >><br>
>>>> >> >> If there is a good reason to install your own version, you can<br>
>>>> >> >> still<br>
>>>> >> >> do so, but you should be aware that you are probably installing to<br>
>>>> >> >> /usr/local instead of /usr.<br>
>>>> >> >><br>
>>>> >> >> In that case you should adjust for the include:<br>
>>>> >> >> gcc -o test test.cpp -I /usr/local/include/gdal -lgdal<br>
>>>> >> >><br>
>>>> >> >> adjusting the linking is slightly more work.try running ldconfig<br>
>>>> >> >> (as<br>
>>>> >> >> root so sudo ldconfig) first after the installation. If that does<br>
>>>> >> >> not<br>
>>>> >> >> work make sure  that the directory /usr/local/lib is part of<br>
>>>> >> >> /etc/ld.so.conf and run ldconfig again.<br>
>>>> >> >><br>
>>>> >> >> Johan<br>
>>>> >> >><br>
>>>> >> >> Johan<br>
>>>> >> >><br>
>>>> >> >> On Mon, Nov 3, 2014 at 9:12 PM, alassane toure <<a href="mailto:atourej@gmail.com" target="_blank">atourej@gmail.com</a>><br>
>>>> >> >> wrote:<br>
>>>> >> >> > I was able to run it successfully but the following command did<br>
>>>> >> >> > not<br>
>>>> >> >> > work..<br>
>>>> >> >> > gcc -o test test.cpp -I /usr/include/gdal -lgdal<br>
>>>> >> >> ><br>
>>>> >> >> > Any thoughts?<br>
>>>> >> >> > Thanks,<br>
>>>> >> >> ><br>
>>>> >> >> > On Mon, Nov 3, 2014 at 12:24 PM, Johan Van de Wauw<br>
>>>> >> >> > <<a href="mailto:johan.vandewauw@gmail.com" target="_blank">johan.vandewauw@gmail.com</a>> wrote:<br>
>>>> >> >> >><br>
>>>> >> >> >> On ubuntu, run "sudo make install"<br>
>>>> >> >> >><br>
>>>> >> >> >> Alternatively, you may wait a few days until gdal 1.11.1 hits<br>
>>>> >> >> >> ubuntugis-unstable.<br>
>>>> >> >> >><br>
>>>> >> >> >> Johan<br>
>>>> >> >> >><br>
>>>> >> >> >> On Mon, Nov 3, 2014 at 8:11 PM, alassane toure<br>
>>>> >> >> >> <<a href="mailto:atourej@gmail.com" target="_blank">atourej@gmail.com</a>><br>
>>>> >> >> >> wrote:<br>
>>>> >> >> >> > Group,<br>
>>>> >> >> >> > I downloaded the gdal version 1.11.1 and followed<br>
>>>> >> >> >> > instructions<br>
>>>> >> >> >> > provided<br>
>>>> >> >> >> > in<br>
>>>> >> >> >> > <a href="http://trac.osgeo.org/gdal/wiki/BuildingOnUnix" target="_blank">http://trac.osgeo.org/gdal/wiki/BuildingOnUnix</a><br>
>>>> >> >> >> ><br>
>>>> >> >> >> > % cd gdal<br>
>>>> >> >> >> > % ./configure<br>
>>>> >> >> >> > % make<br>
>>>> >> >> >> > % su<br>
>>>> >> >> >> > Password: ********<br>
>>>> >> >> >> > # make install<br>
>>>> >> >> >> > # exit<br>
>>>> >> >> >> ><br>
>>>> >> >> >> > All went well but without a 'su' credential, I was unable to<br>
>>>> >> >> >> > complete<br>
>>>> >> >> >> > the<br>
>>>> >> >> >> > installation.<br>
>>>> >> >> >> > I am running windows and unix on the same machine with the<br>
>>>> >> >> >> > same<br>
>>>> >> >> >> > access<br>
>>>> >> >> >> > username and password.  Do i need to create a su account<br>
>>>> >> >> >> ><br>
>>>> >> >> >> > or is there another way to have the gdal compiler working<br>
>>>> >> >> >> > again?<br>
>>>> >> >> >> ><br>
>>>> >> >> >> > I appreciate your help<br>
>>>> >> >> >> ><br>
>>>> >> >> >> > Regards,<br>
>>>> >> >> >> > Alassane<br>
>>>> >> >> >> ><br>
>>>> >> >> >> ><br>
>>>> >> >> >> ><br>
>>>> >> >> >> > On Thu, May 24, 2012 at 1:16 PM, Alassane Toure<br>
>>>> >> >> >> > <<a href="mailto:atourej@gmail.com" target="_blank">atourej@gmail.com</a>><br>
>>>> >> >> >> > wrote:<br>
>>>> >> >> >> >><br>
>>>> >> >> >> >> Group,<br>
>>>> >> >> >> >> I need help to install GDAL 1.9.1 on Ubuntu 12.04.  I first<br>
>>>> >> >> >> >> downloaded<br>
>>>> >> >> >> >> gdal-1.9.1.tar.gz, uncompressed it and executed<br>
>>>> >> >> >> >> ./configure.<br>
>>>> >> >> >> >> Where<br>
>>>> >> >> >> >> do<br>
>>>> >> >> >> >> I go<br>
>>>> >> >> >> >> from here?<br>
>>>> >> >> >> >><br>
>>>> >> >> >> >> Thanks for your help<br>
>>>> >> >> >> ><br>
>>>> >> >> >> ><br>
>>>> >> >> >> ><br>
>>>> >> >> >> > _______________________________________________<br>
>>>> >> >> >> > UbuntuGIS mailing list<br>
>>>> >> >> >> > <a href="mailto:Ubuntu@lists.osgeo.org" target="_blank">Ubuntu@lists.osgeo.org</a><br>
>>>> >> >> >> > <a href="http://lists.osgeo.org/mailman/listinfo/ubuntu" target="_blank">http://lists.osgeo.org/mailman/listinfo/ubuntu</a><br>
>>>> >> >> >> > <a href="http://trac.osgeo.org/ubuntugis/wiki" target="_blank">http://trac.osgeo.org/ubuntugis/wiki</a><br>
>>>> >> >> ><br>
>>>> >> >> ><br>
>>>> >> ><br>
>>>> >> ><br>
>>>> ><br>
>>>> ><br>
>>><br>
>>><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> UbuntuGIS mailing list<br>
> <a href="mailto:Ubuntu@lists.osgeo.org" target="_blank">Ubuntu@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/ubuntu" target="_blank">http://lists.osgeo.org/mailman/listinfo/ubuntu</a><br>
> <a href="http://trac.osgeo.org/ubuntugis/wiki" target="_blank">http://trac.osgeo.org/ubuntugis/wiki</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>