[postgis-tickets] [PostGIS] #3493: Error during build from source

PostGIS trac at osgeo.org
Mon Mar 7 19:01:52 PST 2016


#3493: Error during build from source
---------------------+---------------------------
 Reporter:  dr       |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 2.2.2
Component:  postgis  |    Version:  trunk
 Keywords:           |
---------------------+---------------------------
 Trying to build PostGIS from
 [http://postgis.net/stuff/postgis-2.2.2dev.tar.gz] with GEOS from trunk.


 {{{
  -------------- Dependencies --------------
   GEOS config:          /usr/local/bin/geos-config
   GEOS version:         3.6.0dev
   GDAL config:          /usr/bin/gdal-config
   GDAL version:         1.11.2
   PostgreSQL config:    /usr/bin/pg_config
   PostgreSQL version:   PostgreSQL 9.3.11
   PROJ4 version:        48
   Libxml2 config:       /usr/bin/xml2-config
   Libxml2 version:      2.9.1
   JSON-C support:       no
   PCRE support:         yes
   PostGIS debug level:  0
   Perl:                 /usr/bin/perl
 }}}

 But get an error:


 {{{
 make[2]: Entering directory
 `/home/rykov/sandbox/postgis/postgis-2.2.2dev/raster/loader'
 /bin/bash ../../libtool --mode=link gcc -g -O2  -fPIC -DPIC  -Wall
 -Wmissing-prototypes -I../rt_core -I../../liblwgeom  -I/usr/include/gdal
 -I/usr/local/include   ../rt_core/librtcore.a raster2pgsql.o
 ../../liblwgeom/liblwgeom.la -L/usr/lib -lgdal  -L/usr/local/lib -lgeos_c
 -lc -lm -o raster2pgsql
 libtool: link: gcc -g -O2 -fPIC -DPIC -Wall -Wmissing-prototypes
 -I../rt_core -I../../liblwgeom -I/usr/include/gdal -I/usr/local/include
 raster2pgsql.o -o .libs/raster2pgsql  ../rt_core/librtcore.a
 ../../liblwgeom/.libs/liblwgeom.so -L/usr/lib -lgdal -L/usr/local/lib
 -lgeos_c -lc -lm
 ../../liblwgeom/.libs/liblwgeom.so: undefined reference to
 `GEOSClipByRect'
 collect2: error: ld returned 1 exit status
 make[2]: *** [raster2pgsql] Error 1
 make[2]: Leaving directory
 `/home/rykov/sandbox/postgis/postgis-2.2.2dev/raster/loader'
 make[1]: *** [rtloader] Error 2
 make[1]: Leaving directory
 `/home/rykov/sandbox/postgis/postgis-2.2.2dev/raster'
 make: *** [all] Error 1
 }}}

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3493>
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