[postgis-tickets] [PostGIS] #3167: Windows build broken, lwin_geojson.c undefined reference to json_..

PostGIS trac at osgeo.org
Sun Jun 28 14:56:30 PDT 2015


#3167: Windows build broken, lwin_geojson.c undefined reference to json_..
----------------------+---------------------------
  Reporter:  robe     |      Owner:  strk
      Type:  defect   |     Status:  closed
  Priority:  blocker  |  Milestone:  PostGIS 2.2.0
 Component:  postgis  |    Version:  trunk
Resolution:  fixed    |   Keywords:
----------------------+---------------------------

Comment (by robe):

 Okay I put back that line at r13732 as noted in #3170

 I was able to still keep my static linking, by compiling json-c as usual
 (with just --enable-static --disable-shared, so didn't need to recompile)

 BUT - and not sure this is right I hacked the include/libjson-c.la

 By changing line 11 that read:

 {{{
 # Names of this library.
 library_names=''
 }}}

 to

 {{{
 # Names of this library.
 library_names='libjson-c.a'
 }}}

 And that seemed to do the trick.  I'm not knowledgeable enough to know why
 this worked and couldn't find it described on web, but seemd to do the
 trick for me.


 I'll know for sure if Winnie passes thru all her tests.  I only tested on
 my mingw64-w64 9.4 dev instance.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3167#comment:13>
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