[postgis-users] 2.1.0beta3dev upgrade error

Stephen Woodbridge woodbri at swoodbridge.com
Wed May 22 22:01:08 PDT 2013


Hi all,

I just tried to upgrade postgis from 2.0.3 -> 2.1.0beta3dev and got the 
following error:

pgr_test=# alter extension postgis update to '2.1.0beta3dev';
ERROR:  could not load library 
"/usr/lib/postgresql/9.2/lib/postgis-2.1.so": 
/usr/lib/postgresql/9.2/lib/postgis-2.1.so: undefined symbol: 
json_tokener_errors

Did I forget a step or do something wrong?

-Steve

I have json-c-0.11 built and installed. In fact is is the ./configure 
report:

   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 -P

  -------------- Dependencies --------------
   GEOS config:          /usr/local/bin/geos-config
   GEOS version:         3.3.8
   GDAL config:          /usr/local/bin/gdal-config
   GDAL version:         1.9.2
   PostgreSQL config:    /usr/lib/postgresql/9.2/bin/pg_config
   PostgreSQL version:   PostgreSQL 9.2.4
   PROJ4 version:        47
   Libxml2 config:       /usr/bin/xml2-config
   Libxml2 version:      2.7.8
   JSON-C support:       yes
   PostGIS debug level:  0
   Perl:                 /usr/bin/perl

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

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




More information about the postgis-users mailing list