[postgis-users] Question about the right installation of postgis 2.0.0

Sandro Santilli strk at keybit.net
Mon Apr 23 00:46:07 PDT 2012

On Sun, Apr 22, 2012 at 04:27:11AM -0700, Giannis Giakoumidakis wrote:
> The error message at the beggining is:
> user at ubuntu:/usr/local/pgsql/share/contrib/postgis-2.0$ psql -d test -f postgis.sql

> psql:postgis.sql:69: ERROR:  could not access file "$libdir/postgis-2.0": No such file or directory
> I use Osgeo Live 5.5 that comes with postgresql 8.4 and i have installed also the 9.1 one.The databases in pgAdminIII uses 8.4.

Each PostgreSQL database has its own $libdir, and the PostGIS module
is specific to a single version of the database.

You must ensure to compile it and install postgis for the database
version you're trying to enable it for.


  |   __/  |    Delivering high quality PostGIS 2.0 !
  |  / 2.0 |    http://strk.keybit.net - http://vizzuality.com

More information about the postgis-users mailing list