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

2012-01-19 Thread Sandro Santilli
On Wed, Jan 18, 2012 at 10:09:24PM -0500, P Mohan wrote: > Thanks for the response. after you email i checked that angle. > > Ubuntu Oneiric has /usr/local/lib included in the path you mentioned. > is there anything else that i am missing? gimme some leads that i can > pursue. Clean up your syste

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

2012-01-18 Thread P Mohan
Thanks for the response. after you email i checked that angle. Ubuntu Oneiric has /usr/local/lib included in the path you mentioned. is there anything else that i am missing? gimme some leads that i can pursue. On Wed, Jan 18, 2012 at 7:40 PM, Paul Ramsey wrote: > Often times Linux distros wil

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

2012-01-18 Thread Paul Ramsey
Often times Linux distros will ship without /usr/local/lib in the ld path, so running ldconfig won't actually pick up libraries there. Edit /etc/ld.so.conf and add a line for /usr/local/lib then run ldconfig again. P. On Tue, Jan 17, 2012 at 6:59 AM, P Mohan wrote: > hi Strk, > > i ran the ldcon

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

2012-01-18 Thread P Mohan
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

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

2012-01-17 Thread Sandro Santilli
On Tue, Jan 17, 2012 at 09:59:45AM -0500, P Mohan wrote: > > On Tue, Jan 17, 2012 at 4:15 AM, Sandro Santilli 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 > > ... > > > i

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

2012-01-17 Thread P Mohan
hi Strk, 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? thanks pmohan On Tue, Jan 17, 2012 at 4:15 AM, Sandro Santilli wrote: > On Tue, Jan 17, 2012 at 01:40:51

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

2012-01-17 Thread Sandro Santilli
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 --strk; () Free GIS & Flash consultant/developer /\ http://strk.

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

2012-01-16 Thread P Mohan
Hello, i am getting json_tokener_errors when trying to run postgis.sql. DETAIL: Creating a shell type definition. psql:a.sql:4: ERROR: could not load library "/usr/lib/postgresql/9.1/lib/postgis-2.0.so": /usr/lib/postgresql/9.1/lib/postgis-2.0.so: undefined symbol: json_tokener_errors is it a