[postgis-tickets] [PostGIS] #2213: postgis-2.1.so: undefined symbol: json_tokener_errors

PostGIS trac at osgeo.org
Thu Jun 20 13:43:37 PDT 2013


#2213: postgis-2.1.so: undefined symbol: json_tokener_errors
---------------------+------------------------------------------------------
 Reporter:  mloskot  |       Owner:  pramsey
     Type:  defect   |      Status:  new    
 Priority:  medium   |   Milestone:         
Component:  postgis  |     Version:  trunk  
 Keywords:  json-c   |  
---------------------+------------------------------------------------------

Comment(by strk):

 The patch inline (so it lasts longer):
 {{{
 diff --git a/configure.ac b/configure.ac
 index 80d31b5..bcc9a10 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -789,7 +789,9 @@ CPPFLAGS="$CPPFLAGS_SAVE"
  dnl Ensure we can link against libjson
  LIBS_SAVE="$LIBS"
  LIBS="$JSON_LDFLAGS"
 -AC_CHECK_LIB([json], [json_object_get], [HAVE_JSON=yes], [], [])
 +AC_CHECK_LIB([json], [json_object_get], [HAVE_JSON=yes], [
 +  AC_CHECK_LIB([json-c], [json_object_get], [HAVE_JSON=yes], [], [])
 +], [])
  LIBS="$LIBS_SAVE"

  if test "$HAVE_JSON" = "yes"; then
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2213#comment:18>
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