[postgis-users] error: undefined symbol: json_tokener_errors in POSTGIS2.0

P Mohan pmohan at neozon.net
Wed Jan 18 16:37:33 PST 2012


Hi Sandro,

It was someone else who got it fixed. I am still struggling with the
problem.

i tried a few things still running into the same issue

1) reinstalled Ubuntu Oneiric and tried Postgis 2.0 with out json-c - Works
fine
2) recompiled json-c , ran ldconfig as root and tried postgis 2.0 - got
into undefined symbol: json_tokener_errors
3) installed json-c from Ubuntu repository - got into undefined symbol:
json_tokener_errors

what else can i try ..

I am trying to install CartoDB/postgis2.0 which depends on json-c to work
with geojson.

thanks


please advice ..





On Tue, Jan 17, 2012 at 3:43 PM, Sandro Santilli <strk at keybit.net> wrote:

> On Tue, Jan 17, 2012 at 09:59:45AM -0500, P Mohan wrote:
> >
> > On Tue, Jan 17, 2012 at 4:15 AM, Sandro Santilli <strk at keybit.net>
> wrote:
> >
> > > On Tue, Jan 17, 2012 at 01:40:51AM -0500, P Mohan wrote:
> > >
> > > > /usr/lib/postgresql/9.1/lib/postgis-2.0.so: undefined symbol:
> > > > json_tokener_errors
> > > ...
> > > >     installed json-c from source from github
> > >
> > > As root, run:
> > >   # ldconfig
> >
> > i ran the ldconfig (load dynamic configuration) in the same directory as
> > json-c make.
> > then tried again, still getting the same error.
> >
> > is there any thing else that i should check?
>
> Did we solve this on IRC already ?
> If not you somebody else had the same problem and solved by
> recompiling libjson-c
>
> --strk;
>
>  ()   Free GIS & Flash consultant/developer
>  /\   http://strk.keybit.net/services.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120118/2b86e9e3/attachment.html>


More information about the postgis-users mailing list