[postgis-tickets] [PostGIS] #3066: [raster] PostGIS 2.1.5 compile issues with raster extensions

PostGIS trac at osgeo.org
Mon Mar 2 10:51:46 PST 2015


#3066: [raster] PostGIS 2.1.5 compile issues with raster extensions
----------------------+-----------------------------------------------------
 Reporter:  serbinsh  |       Owner:  dustymugs
     Type:  defect    |      Status:  new      
 Priority:  high      |   Milestone:           
Component:  raster    |     Version:  2.1.x    
 Keywords:  raster    |  
----------------------+-----------------------------------------------------
 I am running into an issue attempting to compile PostGIS 2.1.5 with
 PostgreSQL 9.4 on a SciLinx 6.5 server.  I am using Proj 4.0.8, GEOS
 3.4.2, and GDAL 1.11.2.  The issue occurs during make in the
 ../postgis-2.1.5/raster/loader extension directory.  Here is the error
 output:

 ...
 make[2]: Entering directory
 `/data/software/src/postgis/postgis-2.1.5/raster/loader'
 mpicc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes -I../rt_core
 -I../../liblwgeom -I/data/software/proj/4.8.0/include
 -I/data/software/gdal/1.11.2/include -I/data/software/geos/3.4.2/include
 -c raster2pgsql.c
 /bin/sh ../../libtool --mode=link mpicc -g -O2  -fPIC -DPIC  -Wall
 -Wmissing-prototypes -I../rt_core -I../../liblwgeom
 -I/data/software/proj/4.8.0/include -I/data/software/gdal/1.11.2/include
 -I/data/software/geos/3.4.2/include   ../rt_core/librtcore.a
 raster2pgsql.o ../../liblwgeom/liblwgeom.la
 -L/data/software/gdal/1.11.2/lib -lgdal  -L/data/software/geos/3.4.2/lib
 -lgeos_c  -lc -lm -o raster2pgsql
 libtool: link: mpicc -g -O2 -fPIC -DPIC -Wall -Wmissing-prototypes
 -I../rt_core -I../../liblwgeom -I/data/software/proj/4.8.0/include
 -I/data/software/gdal/1.11.2/include -I/data/software/geos/3.4.2/include
 raster2pgsql.o -o .libs/raster2pgsql  ../rt_core/librtcore.a
 ../../liblwgeom/.libs/liblwgeom.so -L/data/software/geos/3.4.2/lib
 -L/software/src/openmpi/openmpi-1.6.4-gnu48/opal/mca/hwloc/hwloc132/hwloc/src
 -L/data/software/proj/4.8.0/lib -L/data/software/json-c/0.11/lib
 /data/software/proj/4.8.0/lib/libproj.so
 /data/software/json-c/0.11/lib/libjson-c.so
 -L/data/software/gdal/1.11.2/lib -lgdal
 /data/software/geos/3.4.2/lib/libgeos_c.so
 /data/software/geos/3.4.2/lib/libgeos.so
 /software/mpi/openmpi/1.6.4-gnu48/lib/libmpi_cxx.so
 /software/mpi/openmpi/1.6.4-gnu48/lib/libmpi.so -ldl -lnsl -lutil
 /usr/lib64/libtorque.so -lpthread -lrt -lxml2 -lz -lcrypto -lssl
 /software/gcc-4.8.0/lib/../lib64/libstdc++.so -lc -lm -pthread -Wl,-rpath
 -Wl,/usr/local/lib -Wl,-rpath -Wl,/data/software/proj/4.8.0/lib -Wl,-rpath
 -Wl,/data/software/json-c/0.11/lib -Wl,-rpath
 -Wl,/data/software/geos/3.4.2/lib -Wl,-rpath
 -Wl,/software/mpi/openmpi/1.6.4-gnu48/lib -Wl,-rpath -Wl,/usr/lib64
 -Wl,-rpath -Wl,/software/gcc-4.8.0/lib/../lib64
 /data/software/gdal/1.11.2/lib/libgdal.so: undefined reference to
 `GTIFAllocDefn'
 /data/software/gdal/1.11.2/lib/libgdal.so: undefined reference to
 `nc_inq_var_chunking'
 /data/software/gdal/1.11.2/lib/libgdal.so: undefined reference to
 `nc_def_var_chunking'
 /data/software/gdal/1.11.2/lib/libgdal.so: undefined reference to
 `nc_def_var_deflate'
 /data/software/gdal/1.11.2/lib/libgdal.so: undefined reference to
 `GTIFFreeDefn'
 collect2: error: ld returned 1 exit status
 make[2]: *** [raster2pgsql] Error 1
 make[2]: Leaving directory
 `/data/software/src/postgis/postgis-2.1.5/raster/loader'
 make[1]: *** [rtloader] Error 2
 make[1]: Leaving directory
 `/data/software/src/postgis/postgis-2.1.5/raster'
 make: *** [all] Error 1

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3066>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list