[gdal-dev] compiling GDAL with the sde driver

Paolo Corti pcorti at gmail.com
Wed Sep 11 02:43:47 PDT 2013


Hi list
I am experiencing problems compiling latest GDAL with sde support
(using the old ESRI sdk 9.3).

This is how I run the configuration:

./configure --with-python --with-pg
--with-sde=/home/capooti/software/esri/sdk/sdeexe93
--with-sde-version=93 --without-libtool --with-threads=yes

and this is the error I get when making:

g++  gdaladdo.o  -L/opt/gis/gdal/gdal-1.10.1 -lgdal
-L/home/capooti/software/esri/sdk/sdeexe93/lib -lsde -lpe -lsg
-lpthread -ldl -L/usr/lib -lgeos_c  -lsqlite3 -lodbc -lodbcinst
-lexpat -lnetcdf -L/usr/lib -lpq -lz -lpthread -pthread -lm -lrt -ldl
  -L/usr/lib/i386-linux-gnu -lcurl -Wl,-Bsymbolic-functions
-Wl,-z,relro            -L/usr/lib -lxml2  -o gdaladdo
/home/capooti/software/esri/sdk/sdeexe93/lib/libsde.so: undefined
reference to `pthread_atfork'
collect2: ld returned 1 exit status
make[1]: *** [gdaladdo] Error 1
make[1]: Leaving directory `/opt/gis/gdal/gdal-1.10.1/apps'
make: *** [apps-target] Error 2

as you can see I have added the option -pthread in configure as
suggested by Howard here [1], but still no joy :(
any hints?

thanks in advance
regards
p

[1] http://lists.osgeo.org/pipermail/gdal-dev/2011-September/030196.html

-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti


More information about the gdal-dev mailing list