[GRASSLIST:1627] Re: hdf4 & gdal - SOLVED!!! but......

Ivan Marchesini marchesini at unipg.it
Fri Oct 31 13:19:47 EST 2003


Thank you Andrey....

now the format HDF4 appears between the others....!!!!
I tried    gdalinfo <filename.hdf>     and it work!!!!!


But....., r.in.gdal now give me segmentation fault.....
strange..., because just yesterday I correctly compiled grass5.0.2....

Anyway, thank you very very much Andrey!!!

Ivan





Alle 15:34, venerdì 31 ottobre 2003, Andrey Kiselev ha scritto:
> On Fri, Oct 31, 2003 at 03:14:08PM +0100, Ivan Marchesini wrote:
> > ldd `which gdalinfo`
> >         libgdal.1.1.so => /usr/lib/libgdal.1.1.so (0x40023000)
>
> Well, it is clear now.
>
> > __________________________________________________
> > slocate libgdal
> > /home/ivan/openev/installato/lib/libgdal.1.1.so
> > /usr/lib/libgdal.1.1.so
> > /usr/local/lib/libgdal.so.1
> > /usr/local/lib/libgdal.1.1.so
> > /usr/local/lib/libgdal.so.1.1.9
> > /usr/local/lib/libgdal.so
> > /usr/local/lib/libgdal.la
> > /usr/local/lib/libgdal.a
>
> /usr/lib/libgdal.1.1.so is used instead of /usr/local/lib/libgdal.1.1.so
>
> > Have I to remove something like /usr/lib/libgdal.1.1.so???????
>
> You can remove the one and completely switch to the manually compiled
> version, installed into /usr/local/lib, but before you do that you
> should know who is responsible for /usr/lib/libgdal.1.1.so. If it is
> installed from the RPM package you should uninstall the whole package,
> don't just remove the above file.
>
> $ rpm -q -f /usr/lib/libgdal.1.1.so
>
> should help you to find what package installs this file.
>
> > or something else???
>
> Yes, as usual there are many ways to go :-)
>
> Add
>
> /usr/local/lib
>
> line at the top of /etc/ld.so.conf file and regenerate dynamic linker
> database:
>
> # ldconfig
>
> Now libraries, installed into /usr/local/lib will have preference over
> the other ones (in our case we want to suppress the ones in /usr/lib).
> Check it with ldd `which gdalinfo`. Generally it is a good thing, so I'm
> recommend to do this in any case (even if you decide to simply uninstall
> /usr/lib/libgdal.1.1.so).
>
> 						Regards,
> 						Andrey

-- 
Ivan Marchesini
University of Perugia 
Italy




More information about the grass-user mailing list