On Sun, Apr 22, 2012 at 04:27:11AM -0700, Giannis Giakoumidakis wrote:
> The error message at the beggining is:
> 
> user@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.

--strk;

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

_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to