FS#40587 - community/postgis-2.1.3 is broken after json-c update 0.11 to 0.12
Attached to Project:
Community Packages
Opened by Marat Kagarmanov (corvinusz) - Wednesday, 28 May 2014, 16:18 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 28 May 2014, 19:09 GMT
Opened by Marat Kagarmanov (corvinusz) - Wednesday, 28 May 2014, 16:18 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 28 May 2014, 19:09 GMT
|
Details
There is an error in postgresql while trying to use postgis
fields after updating json-c from 0.11 to 0.12
loading library "/usr/lib/postgresql/postgis-2.1.so" fail: /usr/lib/postgresql/postgis-2.1.so: undefined symbol: json_tokener_errors: Additional info: * package versions postgresql 9.3.4-1 postgis 2.1.3-1 json-c 0.12-2 * trying to recompile via ABS-system also fails with error message: libtool: compile: gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -DPIC -Wall -Wmissing-prototypes -I/usr/include -c lwin_geojson.c -fPIC -DPIC -o .libs/lwin_geojson.o lwin_geojson.c: In function 'lwgeom_from_geojson': lwin_geojson.c:513:43: error: 'json_tokener_errors' undeclared (first use in this function) snprintf(err, 256, "%s (at offset %d)", json_tokener_errors[jstok->err], jstok->char_offset); Steps to reproduce: 1. user$ sudo pacman -Syu postgresql postgis 2 # make init of postgresql database claster and setup user access rights 3. user$ systemctl start postgresql 4. postgres$ psql postgres postgres 5. postgres=> create extension postgis; Steps to recover: 1. sudo pacman -U /var/cache/pacman/pkg/json-c-0.11-1-x86_64.pkg.tar.xz |
This task depends upon
Closed by Doug Newgard (Scimmia)
Wednesday, 28 May 2014, 19:09 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#40528
Wednesday, 28 May 2014, 19:09 GMT
Reason for closing: Duplicate
Additional comments about closing: