[GRASSLIST:9989] Re: " make" errors while compiling gdal-1.3.1

Rochelle MIranda r0chelle_miranda at yahoo.com
Wed Jan 25 01:07:29 EST 2006


Hello Hamish
These are some of the few lines preceeding the error
messages. hope this will help u diagnos the
problem.Please look in. 


/usr/lib/libnetcdf.a(attr.o)(.text+0x3f0): In function
`NC_findattr':
: multiple definition of `NC_findattr'
/usr/lib/libmfhdf.a(attr.o)(.text+0x1e0): first
defined here
/usr/bin/ld: Warning: size of symbol `NC_findattr'
changed from 124 in /usr/lib/libmfhdf.a(attr.o) to 140
in /usr/lib/libmfhdf.a(attr.o)
/usr/lib/libnetcdf.a(nc.o)(.text+0x60): In function
`NC_check_id':
: multiple definition of `NC_check_id'
/usr/lib/libmfhdf.a(file.o)(.text+0x0): first defined
here
/usr/bin/ld: Warning: size of symbol `NC_check_id'
changed from 67 in /usr/lib/libmfhdf.a(file.o) to 61
in /usr/lib/libmfhdf.a(file.o)
/usr/lib/libnetcdf.a(var.o)(.text+0x5b0): In function
`NC_var_shape':
: multiple definition of `NC_var_shape'
/usr/lib/libmfhdf.a(var.o)(.text+0x1d0): first defined
here
/usr/bin/ld: Warning: size of symbol `NC_var_shape'
changed from 520 in /usr/lib/libmfhdf.a(var.o) to 373
in /usr/lib/libmfhdf.a(var.o)
collect2: ld returned 1 exit status
make[1]: *** [libgdal.la] Error 1
make[1]: Leaving directory `/home/bnagesh/gdal-1.3.1'
make: *** [check-lib] Error 2



R0chelle












--- Hamish <hamish_nospam at yahoo.com> wrote:

> > As u said i added /usr/local/lib to the
> > /etc/ld.so.conf as root and ran ldonfig.Do i need
> to
> > relogin into my system for the changes to come to
> > effect?
> 
> No, as soon as ldonfig is done it should be ok.
> 
> try:
> 
> $ locate gdal-config
> $ locate libgdal
> 
> where are they?
> 
> 
> > I tried installing grass-6.0.0 but it gives me the
> > same errors as before.
> 
> >> On running the ./configure command for installing
> >> grass-6.0.0 i get the following error
> >> 
> >> checking for GDALOpen... no
> >> checking for GDALOpen... no
> >> configure: error: *** Unable to locate GDAL
> library.
> 
> look at the end of config.log for the error.
> 
> 
> > Also as u suggested i tried installing latest
> version
> > of gdal.
> > when i run the "make" command for installing
> > gdal-1.3.1
> > i get following errors errors
> > 
> > collect2: ld returned 1 exit status
> > make[1]: *** [libgdal.la] Error 1
> > make[1]: Leaving directory
> `/home/r0chelle/gdal-1.3.1'
> > make: *** [check-lib] Error 2
> > r these packages not debugged already?
> 
> We need to see a dozen or so lines prior to that as
> well. That just
> tells us where it stopped, not why.
> 
> 
> Hamish
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the grass-user mailing list