[postgis-users] Problems creating postgis extension

Martin Moore martin.moore at avbrief.com
Tue May 30 11:12:44 PDT 2017



On Debian Jessie 64bit, postgis 2.3, postgres 9.6 (both installed using apt-get)


I can’t create postgis extension 


 psql -d mydb -c "CREATE EXTENSION postgis;"

ERROR:  could not load library "/usr/lib/postgresql/9.6/lib/postgis-2.3.so": /usr/lib/postgresql/9.6/lib/postgis-2.3.so: undefined symbol: pj_get_spheroid_defn


But it is there:


 objdump -t -T /usr/lib/postgresql/9.6/lib/postgis-2.3.so | grep defn

0000000000000000      DF *UND* 0000000000000000              pj_get_spheroid_defn


It appears to have proj 4.8


ii  libproj0                               4.8.0-5                              amd64        Cartographic projection library

ii  proj-bin                               4.8.0-5                              amd64        Cartographic projection library (tools)

ii  proj-data                              4.8.0-5                              amd64        Cartographic projection filter and library (datum package)



I’m not a Linux guru and this has me stumped!


What am I missing?






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20170530/1f83cb19/attachment.html>

More information about the postgis-users mailing list