Opened 9 years ago

Closed 9 years ago

#3142 closed defect (invalid)

PostGIS 2.2 trunk build fail

Reported by: darkblueb Owned by: pramsey
Priority: medium Milestone: PostGIS 2.2.0
Component: postgis Version: master
Keywords: build Cc:

Description

undefined symbol: geod_init

psql (9.3.5) Type "help" for help.

user=# \c postgis22_test 
You are now connected to database "postgis22_test" as user "user".
postgis22_test=# create extension postgis <TAB>
postgis                 postgis_tiger_geocoder  postgis_topology        
postgis22_test=# create extension postgis;
ERROR:  could not load library "/usr/lib/postgresql/9.3/lib/postgis-2.2.so": /usr/lib/postgresql/9.3/lib/postgis-2.2.so: undefined symbol: geod_init

##— Setup

 PostgreSQL 9.3.5 on i686-pc-linux-gnu, compiled by gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2, 32-bit

  PostGIS is now configured for i686-pc-linux-gnu

 -------------- Compiler Info ------------- 
  C compiler:           gcc -g -O2
  C++ compiler:         g++ -g -O2
  SQL preprocessor:     /usr/bin/cpp -traditional-cpp -w -P

 -------------- Dependencies -------------- 
  GEOS config:          /usr/local/bin/geos-config
  GEOS version:         3.5.0dev
  GDAL config:          /usr/bin/gdal-config
  GDAL version:         1.11.1
  PostgreSQL config:    /usr/bin/pg_config
  PostgreSQL version:   PostgreSQL 9.3.7
  PROJ4 version:        49
  Libxml2 config:       /usr/bin/xml2-config
  Libxml2 version:      2.9.1
  JSON-C support:       yes
  PCRE support:       yes
  PostGIS debug level:  0
  Perl:                 /usr/bin/perl

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

 -------- Documentation Generation -------- 
  xsltproc:             
  xsl style sheets:     
  dblatex:              
  convert:              
  mathml2.dtd:          http://www.w3.org/Math/DTD/mathml2/mathml2.dtd

user@lubase-1404:~/srcs/postgis_trunk$ svn info
Path: .
Working Copy Root Path: /home/user/srcs/postgis_trunk
URL: http://svn.osgeo.org/postgis/trunk
Relative URL: ^/trunk
Repository Root: http://svn.osgeo.org/postgis
Repository UUID: b70326c6-7e19-0410-871a-916f4a2858ee
Revision: 13578
Node Kind: directory
Schedule: normal
Last Changed Author: pramsey
Last Changed Rev: 13578
Last Changed Date: 2015-05-28 13:25:11 -0700 (Thu, 28 May 2015)

Change History (1)

comment:1 by pramsey, 9 years ago

Resolution: invalid
Status: newclosed

You've got two copies of proj on your system, a 4.9 version from which the header is being found on build and a lower version that is actually being found by the linker at runtime.

Note: See TracTickets for help on using tickets.