[gdal-dev] Error building GDAL with GEOS on Solaris

Namrata Sorte namrata.r.sorte at gmail.com
Fri Nov 26 01:19:20 EST 2010


Hi,

I am facing problem in installing GDAL with GEOS on Solaris. Below are the
steps follwed:
1) Installed GEOS 3.0.0 - successfully installed
2) Configure GDAL with following options:
 ./configure  --prefix=/usr/local \
            --with-threads \
            --with-ogr \
            --with-geos=yes \
            --without-libtool \
            --with-libz=internal \
            --with-libtiff=internal \
            --with-geotiff=internal \
            --without-gif \
            --without-pg \
            --without-grass \
            --without-libgrass \
            --without-cfitsio \
            --without-pcraster \
            --without-netcdf \
            --without-png \
            --without-jpeg \
            --without-gif \
            --without-ogdi \
            --without-fme \
            --without-hdf4 \
            --without-hdf5 \
            --without-jasper \
            --without-ecw \
            --without-kakadu \
            --without-mrsid \
            --without-jp2mrsid \
            --without-bsb \
            --without-grib \
            --without-mysql \
            --without-ingres \
            --without-xerces \
            --without-expat \
            --without-odbc \
            --without-curl \
            --without-sqlite3 \
            --without-dwgdirect \
            --without-panorama \
            --without-idb \
            --without-sde \
            --without-perl \
            --without-php \
            --without-ruby \
            --without-python \
            --without-ogpython \
            --with-hide-internal-symbols
3)make
make[1]: Entering directory `/pool1/innovations/gdal-1.7.1/port'
g++ -g -O2 -fPIC  -Wall  -DOGR_ENABLED -I/pool1/innovations/gdal-1.7.1/port
     -I../frmts/zlib  -DHAVE_LIBZ -c -o cpl_conv.o cpl_conv.cpp
g++ -g -O2 -fPIC  -Wall  -DOGR_ENABLED -I/pool1/innovations/gdal-1.7.1/port
     -I../frmts/zlib  -DHAVE_LIBZ -c -o cpl_error.o cpl_error.cpp
g++ -g -O2 -fPIC  -Wall  -DOGR_ENABLED -I/pool1/innovations/gdal-1.7.1/port
     -I../frmts/zlib  -DHAVE_LIBZ -c -o cpl_string.o cpl_string.cpp
........ . . . . .
. .

jpeg_set_defaults                   /pool1/innovations/gdal-1.7.1/libgdal.so

jpeg_CreateCompress                 /pool1/innovations/gdal-1.7.1/libgdal.so

jpeg_read_scanlines                 /pool1/innovations/gdal-1.7.1/libgdal.so

jpeg_start_compress                 /pool1/innovations/gdal-1.7.1/libgdal.so

ld: fatal: Symbol referencing errors. No output written to gdalinfo
collect2: ld returned 1 exit status
make[1]: *** [gdalinfo] Error 1
make[1]: Leaving directory `/pool1/innovations/gdal-1.7.1/apps'
make: *** [apps-target] Error 2

I get error here and am not able to trace the problem! Actually I had
installed GDAL before but without GEOS. Now when installed GEOS I had to
reconfigure GDAL with GEOS enabled but it is giving error.

Please help me with this installation.

Thanks,
Namrata
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20101126/4b896fbd/attachment.html


More information about the gdal-dev mailing list