[postgis-tickets] [PostGIS] #4374: undefined reference to `geod_init'

PostGIS trac at osgeo.org
Sat Apr 13 08:53:41 PDT 2019


#4374: undefined reference to `geod_init'
---------------------+---------------------------
 Reporter:  robe     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  blocker  |  Milestone:  PostGIS 3.0.0
Component:  postgis  |    Version:  trunk
 Keywords:           |
---------------------+---------------------------
 I've been getting errors running trunk on new debbie

 I thought maybe it was something with proj 5.2.0 and changes we made in 3
 because PostGIS 2.5 runs fine.

 However when I try to test 5.2.0 on my desktop, it desn't error out so not
 sure if its something I missed installing or I have 2 versions of proj
 lurking

 {{{
   PostGIS is now configured for x86_64-pc-linux-gnu

  -------------- Compiler Info -------------
   C compiler:           gcc -std=gnu99 -g -O2 -fno-math-errno -fno-signed-
 zeros
   CPPFLAGS:
 -I/var/lib/jenkins/workspace/geos/rel-3.6w64/include
 -I/usr/include/libxml2 -I/usr/include
   SQL preprocessor:     /usr/bin/cpp -traditional-cpp -w -P

  -------------- Additional Info -------------
   Interrupt Tests:   DISABLED use: --with-interrupt-tests to enable

  -------------- Dependencies --------------
   GEOS config:          /var/lib/jenkins/workspace/geos/rel-3.6w64/bin
 /geos-config
   GEOS version:         3.6.4dev
   GDAL config:          /var/lib/jenkins/workspace/gdal/rel-2.4w64/bin
 /gdal-config
   GDAL version:         2.4.1
   SFCGAL config:        /usr/bin/sfcgal-config
   SFCGAL version:       1.3.6
   PostgreSQL config:
 /var/lib/jenkins/workspace/pg/rel/pg9.6w64/bin/pg_config
   PostgreSQL version:   PostgreSQL 9.6.12
   PROJ4 version:        52
   Libxml2 config:       /usr/bin/xml2-config
   Libxml2 version:      2.9.4
   JSON-C support:       no
   protobuf-c support:   no
   PCRE support:         no
   Perl:                 /usr/bin/perl
   Wagyu:                no

  --------------- Extensions ---------------
   PostGIS Raster:                     enabled
   PostGIS Topology:                   enabled
   SFCGAL support:                     enabled
   Address Standardizer support:       disabled

  -------- Documentation Generation --------
   xsltproc:             /usr/bin/xsltproc
   xsl style sheets:     /usr/share/xml/docbook/stylesheet/docbook-xsl
   dblatex:              /usr/bin/dblatex
   convert:              /usr/bin/convert
   mathml2.dtd:          /usr/share/xml/schema/w3c/mathml/dtd/mathml2.dtd

 /usr/bin/ld: ../../liblwgeom/.libs/liblwgeom.a(lwspheroid.o): in function
 `ptarray_area_spheroid':
 /var/lib/jenkins/workspace/postgis/branches/3.0/liblwgeom/lwspheroid.c:144:
 undefined reference to `geod_init'
 /usr/bin/ld:
 /var/lib/jenkins/workspace/postgis/branches/3.0/liblwgeom/lwspheroid.c:146:
 undefined reference to `geod_polygon_init'
 /usr/bin/ld:
 /var/lib/jenkins/workspace/postgis/branches/3.0/liblwgeom/lwspheroid.c:155:
 undefined reference to `geod_polygon_addpoint'
 /usr/bin/ld:
 /var/lib/jenkins/workspace/postgis/branches/3.0/liblwgeom/lwspheroid.c:158:
 undefined reference to `geod_polygon_compute'
 /usr/bin/ld: ../../liblwgeom/.libs/liblwgeom.a(lwspheroid.o): in function
 `spheroid_distance':
 /var/lib/jenkins/workspace/postgis/branches/3.0/liblwgeom/lwspheroid.c:82:
 undefined reference to `geod_init'
 /usr/bin/ld:
 /var/lib/jenkins/workspace/postgis/branches/3.0/liblwgeom/lwspheroid.c:88:
 undefined reference to `geod_inverse'
 /usr/bin/ld: ../../liblwgeom/.libs/liblwgeom.a(lwspheroid.o): in function
 `spheroid_direction':
 /var/lib/jenkins/workspace/postgis/branches/3.0/liblwgeom/lwspheroid.c:103:
 undefined reference to `geod_init'
 /usr/bin/ld:
 /var/lib/jenkins/workspace/postgis/branches/3.0/liblwgeom/lwspheroid.c:109:
 undefined reference to `geod_inverse'
 /usr/bin/ld: ../../liblwgeom/.libs/liblwgeom.a(lwspheroid.o): in function
 `spheroid_project':
 /var/lib/jenkins/workspace/postgis/branches/3.0/liblwgeom/lwspheroid.c:126:
 undefined reference to `geod_init'
 /usr/bin/ld:
 /var/lib/jenkins/workspace/postgis/branches/3.0/liblwgeom/lwspheroid.c:130:
 undefined reference to `geod_direct'
 }}}

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