[Gdal-dev] Gdalinfo error

Benjamin Wragg bwragg at tpg.com.au
Tue Jul 15 18:07:59 EDT 2003

Thanks Frank. I have proj.4 installed and working with other programs
like postgis and mapserver, so I don't think it's proj.4. I'll recompile
with gdal 1.1.9. To be safe should I remove /usr/local/include from the
ld.so.conf file just before I compile 1.1.9? Is the ld.so.conf file
contain what you describe as the "include path"?



-----Original Message-----
From: gdal-dev-admin at remotesensing.org
[mailto:gdal-dev-admin at remotesensing.org] On Behalf Of Frank Warmerdam
Sent: Tuesday, 15 July 2003 10:48 PM
To: gdal-dev at remotesensing.org
Subject: Re: [Gdal-dev] Gdalinfo error

Benjamin Wragg wrote:
> Hi list,
> I'm currently using gadl1.1.8 and I've got a problem with a geotiff 
> and
> running gdalinfo on the file. When I run "gdalinfo filename.tif" I get

> the following error repeated 5 times:
> ERROR 6: Unable to load PROJ.4 library (libproj.so), creation of
> OGRCoordinateTransformation failed.
> I found the following links on the web
> http://remotesensing.org/pipermail/gdal-dev/2003-February/000238.html
l where 
> people have similar errors. In the one from the gdal list Roni Zanolli

> responeded saying that the problem is with gcc3.2 and configure and 
> suggested grabbing the nightly snapshot. Is this fixed in 1.1.9 or is 
> there something else I need to do to fix this?


The problem in question related to configure getting mixed up on systems
where /usr/local/include was already in the include path.  I believe
this quirk is addressed by the GDAL 1.1.9 configure.  However, you
should also confirm that you actually have PROJ.4 installed.  It is a
separate package from GDAL.  I would also note that it isn't required
for most GDAL operations, though without it you won't get lat/long
bounds reported for gdal datasets, and the gdal warping reprojection
support would not be operational.

Best regards,
I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

Gdal-dev mailing list
Gdal-dev at remotesensing.org

More information about the Gdal-dev mailing list