[geos-devel] Error building GEOS enabled in GDAL on Solaris

Namrata Sorte namrata.r.sorte at gmail.com
Thu Nov 25 12:27:10 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
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. I am not able to trace the problem! Don't know if GEOS
installed properly because GDAL was installed properly without geos before
but after reinstalled with GEOS it gives error.

Please help me with this issue.

Thanks,
Namrata
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geos-devel/attachments/20101125/318a5758/attachment.html


More information about the geos-devel mailing list