Opened 11 years ago

Closed 11 years ago

#28 closed defect (fixed)

PostGIS 2.0 fails

Reported by: darkblueb Owned by: ubuntu@…
Component: Proj Severity: critical
Keywords: PostGIS GDAL Proj4 Cc:

Description

install packages from ubuntugis-unstable with

postgresql-9.1-postgis

gdal, proj, mysql client, etc get installed

create extension postgis; fails, with

ERROR: could not load library "/usr/lib/postgresql/9.1/lib/rtpostgis-2.0.so": /usr/lib/libgdal.so.1: undefined symbol: pj_ctx_alloc

Change History (7)

comment:1 by darkblueb, 11 years ago

XUbuntu 12.04.1 base

strk: due to a build with a previous revision of the PROJ4 headers

comment:2 by aboudreault, 11 years ago

Ensure proj 4.8 is installed. (and not the old 4.7) This is a known bug we will fix soon.

comment:3 by darkblueb, 11 years ago

confirmed - building Proj4 4.8 and installing it, running ldconfig, fixed

I will leave this bug open until the packages are resolved

comment:4 by darkblueb, 11 years ago

workaround at the moment is

PROJ_FORCE='--force-yes proj=4.8.0-2~precise1'
apt-get install --yes "postgresql-$PG_VERSION-postgis" postgis  $PROJ_FORCE

comment:5 by darkblueb, 11 years ago

the fragile workaround above has failed during the automated build, alpha2 first attempt unknown causes

comment:6 by jlarouche, 11 years ago

I updated the package, it should be fine now. If you could test again and confirm it works.

Thank you

comment:7 by aboudreault, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.