[gdal-dev] MrSID won't compile with GDAL 1.9 - libgeotiff issue

Gavin Fleming gavin at afrispatial.co.za
Tue Apr 10 06:49:47 EDT 2012


This worked on one Ubuntu 11.10 box but not on another (where I really 
need it to work). I'd be grateful for any help:

--with MrSID SDK 7:

./configure --with-geotiff=internal 
--with-mrsid=/usr/local/Geo_DSDK-7.0.0.2167 --with-threads --with-python

/bin/bash /home/gavin/src/gdal/libtool --mode=link    --tag=LD    g++ 
gdalinfo.lo  /home/gavin/src/gdal/libgdal.la -o gdalinfo
libtool: link: ignoring unknown tag LD
libtool: link: g++ .libs/gdalinfo.o -o .libs/gdalinfo 
/home/gavin/src/gdal/.libs/libgdal.so -L/usr/lib 
-L/usr/lib/x86_64-linux-gnu 
-L/usr/local/Geo_DSDK-7.0.0.2167/3rd-party/lib/Release 
-L/usr/local/Geo_DSDK-7.0.0.2167/lib/Release -lgeos_c 
/usr/lib/x86_64-linux-gnu/libsqlite3.so /usr/lib/libodbc.so 
/usr/lib/libodbcinst.so /usr/lib/x86_64-linux-gnu/libexpat.so -lxerces-c 
-lNCSEcw -lNCSEcwC -lNCSCnet -lNCSUtil 
/usr/lib/x86_64-linux-gnu/libjasper.so -lnetcdf /usr/lib/libhdf5.so 
/usr/lib/libmfhdfalt.so /usr/lib/libdfalt.so /usr/lib/libgif.so 
/usr/lib/x86_64-linux-gnu/libjpeg.so -lpng -lpq -lz -lm -lrt -ldl 
/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so -lltidsdk -lpthread 
-llt_kakadu -pthread
/home/gavin/src/gdal/.libs/libgdal.so: undefined reference to 
`LizardTech::MrSIDImageReaderInterface::getMrSIDGeneration(unsigned char 
const*, unsigned char&, bool&)'
/home/gavin/src/gdal/.libs/libgdal.so: undefined reference to 
`LizardTech::LTISceneBuffer::LTISceneBuffer(LizardTech::LTIPixel const&, 
unsigned int, unsigned int, void**, unsigned int)'
/home/gavin/src/gdal/.libs/libgdal.so: undefined reference to 
`LizardTech::LTISceneBuffer::LTISceneBuffer(LizardTech::LTIPixel const&, 
unsigned int, unsigned int, void**, unsigned int)'
/home/gavin/src/gdal/.libs/libgdal.so: undefined reference to 
`LizardTech::J2KImageReader::initialize(LizardTech::LTIOStreamInf&, 
bool, float, bool)'
/home/gavin/src/gdal/.libs/libgdal.so: undefined reference to 
`LizardTech::LTISceneBuffer::getBandData(unsigned short) const'
collect2: ld returned 1 exit status
make[1]: *** [gdalinfo] Error 1
make[1]: Leaving directory `/home/gavin/src/gdal/apps'
make: *** [apps-target] Error 2

----------------------------------------------------
--with MrSID SDK 8:

./configure 
--with-mrsid=/usr/local/MrSID_DSDK-8.5.0.3422-linux.x86-64.gcc44/Raster_DSDK 
--with-geotiff=internal --with-threads --with-python
make
make install
ldconfig
gdalinfo
gdalinfo: error while loading shared libraries: libltidsdk.so: cannot 
open shared object file: No such file or directory




More information about the gdal-dev mailing list