[Gdal-dev] Problems compiling GDAL

Andrey Kiselev dron at ak4719.spb.edu
Thu May 20 12:14:08 EDT 2004


On Thu, May 20, 2004 at 09:32:24AM -0500, Michael Crider wrote:
> I am attempting to install GDAL 1.2.0 with MrSID for use with Thuban on 
> RedHat 8.  I downloaded the MrSID DSDK 3.1.10 from 
> http://www.lizardtech.com/partners/dsdk/mrsid and copied the expanded 
> files to the same directory where I expanded GDAL.  configure ran 
> without any complaints (./configure 
> --with-mrsid=/usr/local/Downloads/thuban/Linux_DSDK 
> --with-static-proj4=/usr --without-ogr).  When I ran make, I got a long 
> series of messages similar to: 
> /usr/local/Downloads/thuban/gdal-1.2.0/.libs/libgdal.so: undefined 
> reference to `LizardTech::MetadataValue::operator unsigned short() const'
> This is followed by:
> collect2: ld returned 1 exit status
> make[1]: *** [gdalinfo] Error 1
> make[1]: Leaving directory `/usr/local/Downloads/thuban/gdal-1.2.0/apps'
> make: *** [apps-target] Error 2
> 
> Is everything normal here or am I doing something wrong?  Any suggestions?

It is perhaps compiler mismatch. What gcc version do you have? You
should use the same version as was used for DSDK (2.95.x, I think).
RH 8 perhaps has more recent gcc.

					Andrey

-- 
Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517



More information about the Gdal-dev mailing list