1

I have a database that I viewed in QGIS using PostGIS.

I managed to link them up using the correst host, database combination last year. I am now revisiting the work and am unable to link them again. The appropriate extentions are installed in Postgres (i use pgadmin), namely postgis and postgis_topology. However when connecting through QGIS it says I cannot connect.

Having had an explore in my postgres database in pgadmin I am recieving the following error when I click on spatial tables:

could not load library "/usr/pgsql-9.2/lib/postgis-2.0.so": /usr/pgsql- 9.2/lib/postgis-2.0.so: undefined symbol: pj_get_spheroid_defn

The version of postgres is: 9.2.10

When I request the version of postgis the same error message occurs.

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Oct 14, 2015 at 10:58

1 Answer 1

1

It looks to me like maybe your PostGIS was compiled with a newer proj than what you have installed. Which proj library did you install with?

Might also just be missing an ldconfig call.

answered Oct 14, 2015 at 12:02

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.