[GRASSLIST:9986] Re: configure: error: *** Unable to locate GDAL library.

Hamish hamish_nospam at yahoo.com
Wed Jan 25 00:30:56 EST 2006


> 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




More information about the grass-user mailing list